Skip to content

Commit

Permalink
Merge branch 'main' into unauthz
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Nov 2, 2024
2 parents d88d6ac + 4742e9d commit f310c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/suspend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ spec:
return status.Name == "suspend-node-timeout-with-default-value[0].approve"
}, func(t *testing.T, status *wfv1.NodeStatus, pod *apiv1.Pod) {
assert.Equal(t, wfv1.NodeSucceeded, status.Phase)
assert.Equal(t, 1, len(status.Outputs.Parameters))
assert.Len(t, status.Outputs.Parameters, 1)
assert.Equal(t, "message", status.Outputs.Parameters[0].Name)
assert.Equal(t, wfv1.AnyStringPtr("default message"), status.Outputs.Parameters[0].Value)
}).
ExpectWorkflowNode(func(status wfv1.NodeStatus) bool {
return status.Name == "suspend-node-timeout-with-default-value[1].release"
}, func(t *testing.T, status *wfv1.NodeStatus, pod *apiv1.Pod) {
assert.Equal(t, wfv1.NodeSucceeded, status.Phase)
assert.Equal(t, 1, len(status.Inputs.Parameters))
assert.Len(t, status.Inputs.Parameters, 1)
assert.Equal(t, "message", status.Inputs.Parameters[0].Name)
assert.Equal(t, wfv1.AnyStringPtr("default message"), status.Inputs.Parameters[0].Value)
})
Expand Down

0 comments on commit f310c30

Please sign in to comment.