Skip to content

Commit

Permalink
Improved comment for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Sep 19, 2024
1 parent 8293570 commit 7995606
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 @@ -2266,7 +2266,10 @@ outputs:
`

func TestSoftOptionalFieldWorkflow(t *testing.T) {
// Test the wait time resulting in the soft-optional not being included.
// This test case handles the soft optional dependency. It uses timing and step
// enablement. Timing is used since there are no order guarantees provided by
// `!soft-optional` alone. If this proves to be fragile, consider utilizing
// multiple steps that wait for each other in a way that ensures proper ordering.
preparedWorkflow := assert.NoErrorR[workflow.ExecutableWorkflow](t)(
getTestImplPreparedWorkflow(t, softOptionalFieldWorkflow),
)
Expand Down

0 comments on commit 7995606

Please sign in to comment.