Skip to content

Commit

Permalink
race in test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kruse <[email protected]>
  • Loading branch information
c-kruse committed Oct 6, 2023
1 parent 95a41c3 commit 1473df4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/receiver/jobreceiver/command/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func TestExecute(t *testing.T) {
outC := eventualOutput(t, echo)
_, err := echo.Run()
require.NoError(t, err)
time.Sleep(time.Millisecond * 100)
_, err = echo.Run()
assert.Error(t, err)
assert.Contains(t, <-outC, "hello world")
Expand Down

0 comments on commit 1473df4

Please sign in to comment.