Skip to content

Commit

Permalink
chore: reduce match message
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Clucas <alan@clucas.org>
  • Loading branch information
Joibel committed Sep 13, 2024
1 parent b12204a commit 1244863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ spec:
if status.Phase == wfv1.WorkflowRunning {
nodeStatus := status.Nodes.FindByDisplayName("test-nodeantiaffinity-strategy(0)")
nodeStatusRetry := status.Nodes.FindByDisplayName("test-nodeantiaffinity-strategy(1)")
assert.Contains(t, nodeStatusRetry.Message, "1 node(s) didn't match Pod's node affinity/selector")
assert.Contains(t, nodeStatusRetry.Message, "didn't match Pod's node affinity/selector")
assert.NotEqual(t, nodeStatus.HostNodeName, nodeStatusRetry.HostNodeName)
}
})
Expand Down

0 comments on commit 1244863

Please sign in to comment.