MCPcopy
hub / github.com/argoproj/argo-workflows / testNodePodExists

Function testNodePodExists

workflow/controller/node_counters_test.go:155–164  ·  view source on GitHub ↗
(t *testing.T, woc *wfOperationCtx)

Source from the content-addressed store, hash-verified

153}
154
155func testNodePodExists(t *testing.T, woc *wfOperationCtx) {
156 for _, node := range woc.wf.Status.Nodes {
157 if node.ID == "" {
158 continue
159 }
160
161 doesPodExist := woc.nodePodExist(node)
162 assert.True(t, doesPodExist)
163 }
164}

Callers 1

TestCountersFunction · 0.85

Calls 1

nodePodExistMethod · 0.80

Tested by

no test coverage detected