Skip to content

Commit

Permalink
tests: Add 3 second to the backoff test
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian committed Oct 12, 2020
1 parent b862325 commit 121ed70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/backoff/backoff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func TestEndure_MainThread_Backoff(t *testing.T) {
wg.Wait()

after := time.Now().Second()
// after - now should not be more than 11 as we set in NewContainer
assert.Greater(t, 11, after-now, "time")
// after - now should not be more than 15 as we set in NewContainer
assert.Greater(t, 15, after-now, "time")
}

func TestEndure_BackoffTimers(t *testing.T) {
Expand Down

0 comments on commit 121ed70

Please sign in to comment.