Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
Signed-off-by: shuangkun <[email protected]>
  • Loading branch information
shuangkun committed Nov 3, 2024
1 parent cdd6303 commit e6d937d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/hooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ spec:
ExpectWorkflow(func(t *testing.T, metadata *v1.ObjectMeta, status *v1alpha1.WorkflowStatus) {

Check failure on line 924 in test/e2e/hooks_test.go

View workflow job for this annotation

GitHub Actions / Lint

s.Given().Workflow(`apiVersion: argoproj.io/v1alpha1

Check failure on line 924 in test/e2e/hooks_test.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-functional, minimal, false)

s.Given().Workflow(`apiVersion: argoproj.io/v1alpha1

Check failure on line 924 in test/e2e/hooks_test.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-functional, v1.28.13+k3s1, minimal, false)

s.Given().Workflow(`apiVersion: argoproj.io/v1alpha1
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) {
Expand Down

0 comments on commit e6d937d

Please sign in to comment.