Skip to content

Commit

Permalink
chore(tests): fix lint failures (#13853)
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Malone <[email protected]>
  • Loading branch information
MasonM authored Nov 2, 2024
1 parent 3df05eb commit 4742e9d
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 4742e9d

Please sign in to comment.