Skip to content

Commit

Permalink
fix(tests): e2e test for daemon retry
Browse files Browse the repository at this point in the history
Signed-off-by: MenD32 <[email protected]>
  • Loading branch information
MenD32 committed Oct 19, 2024
1 parent 8278b72 commit a5eba4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/daemon_pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ spec:
ExpectWorkflow(func(t *testing.T, md *metav1.ObjectMeta, status *wfv1.WorkflowStatus) {
node := status.Nodes.FindByDisplayName("daemoned(1)")
require.NotNil(t, node)
assert.Equal(t, wfv1.NodeSucceeded, node.Phase)
assert.Equal(t, wfv1.NodeFailed, node.Phase)
assert.Equal(t, status.Phase, wfv1.WorkflowSucceeded)
})
}

Expand Down

0 comments on commit a5eba4d

Please sign in to comment.