Skip to content

Commit

Permalink
test: test framework ExpectWorkflowNode should fail when no node (#12216
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Joibel committed Nov 17, 2023
1 parent 93962ef commit dd6a2af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/fixtures/then.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ func (t *Then) ExpectWorkflowNode(selector func(status wfv1.NodeStatus) bool, f
p = nil // i did not expect to need to nil the pod, but here we are
}
}
f(tt, n, p)
} else {
_, _ = fmt.Println("Did not find node")
t.t.Error("Did not find expected node")
}
f(tt, n, p)
})
}

Expand Down

0 comments on commit dd6a2af

Please sign in to comment.