From e6d937dbaf4651c9619c43fff8a31cbbe750d258 Mon Sep 17 00:00:00 2001 From: shuangkun Date: Sun, 3 Nov 2024 21:20:54 +0800 Subject: [PATCH] fix: test Signed-off-by: shuangkun --- test/e2e/hooks_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/hooks_test.go b/test/e2e/hooks_test.go index 6c6973e54f4d..50b49e2d90fc 100644 --- a/test/e2e/hooks_test.go +++ b/test/e2e/hooks_test.go @@ -924,6 +924,7 @@ spec: 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) {