Skip to content

Commit

Permalink
Improved test documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Apr 19, 2024
1 parent 03ba315 commit 28fce14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion workflow/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,10 @@ outputs:
`

func TestInputCancelledStepWorkflow(t *testing.T) {
// Run a workflow where the step is disabled by a value in the input.
// Run a workflow where the step is cancelled by a value in the input.
// This causes a cancellation during deployment. This is also unique
// because that cancelled step is the only step, so its cancellation
// must be handled properly to prevent a deadlock.
preparedWorkflow := assert.NoErrorR[workflow.ExecutableWorkflow](t)(
getTestImplPreparedWorkflow(t, inputCancelledStepWorkflow),
)
Expand Down

0 comments on commit 28fce14

Please sign in to comment.