Skip to content

Commit

Permalink
Fix datarace in test
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kuklin <[email protected]>
  • Loading branch information
Anton Kuklin authored and anton-kuklin committed Jan 26, 2024
1 parent d494609 commit bc7247a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ func TestHTTPCaller_RunWithContext(t *testing.T) {
t.Errorf("Timed out on a shutdown, meaning workload wasn't processed, Stack: \n%s", string(debug.Stack()))
case <-done:
}
httpCaller.Stop()
AssertIntGreaterOrEqual(t, callsCount, 5)
}

Expand Down

0 comments on commit bc7247a

Please sign in to comment.