From 3fdb56250ed17139483b710e67d5acf4ba6e706b Mon Sep 17 00:00:00 2001 From: shuangkun Date: Sun, 3 Nov 2024 21:29:37 +0800 Subject: [PATCH] fix: test Signed-off-by: shuangkun --- test/e2e/hooks_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/hooks_test.go b/test/e2e/hooks_test.go index 50b49e2d90fc..286c53364ce4 100644 --- a/test/e2e/hooks_test.go +++ b/test/e2e/hooks_test.go @@ -921,10 +921,10 @@ spec: `).When(). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeCompleted). + Then(). ExpectWorkflow(func(t *testing.T, metadata *v1.ObjectMeta, status *v1alpha1.WorkflowStatus) { assert.Equal(t, v1alpha1.WorkflowSucceeded, status.Phase) }). - Then(). ExpectWorkflowNode(func(status v1alpha1.NodeStatus) bool { return strings.Contains(status.Name, ".hooks.succeed") }, func(t *testing.T, status *v1alpha1.NodeStatus, pod *apiv1.Pod) {