From a5eba4dd870f91f93dc7b0883d49609258765340 Mon Sep 17 00:00:00 2001 From: MenD32 Date: Sat, 19 Oct 2024 19:06:50 +0300 Subject: [PATCH] fix(tests): e2e test for daemon retry Signed-off-by: MenD32 --- test/e2e/daemon_pod_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/daemon_pod_test.go b/test/e2e/daemon_pod_test.go index ebc2ba04abb7..1eee8bc2e894 100644 --- a/test/e2e/daemon_pod_test.go +++ b/test/e2e/daemon_pod_test.go @@ -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) }) }