Skip to content

Commit

Permalink
Merge pull request #473 from nats-io/tune_backofftimecheck_flapping_test
Browse files Browse the repository at this point in the history
Try to address recent Travis test failures
  • Loading branch information
kozlovic committed Feb 14, 2018
2 parents 9579500 + 3674fb9 commit fafc961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TestBackoffTimeCheck(t *testing.T) {
// Repeat calls until frequency is increased to the max
freqs := make([]time.Duration, 0)
last := time.Now()
timeout := time.Now().Add(350 * time.Millisecond)
timeout := time.Now().Add(400 * time.Millisecond)
for time.Now().Before(timeout) {
if print.Ok() {
freqs = append(freqs, time.Since(last))
Expand Down

0 comments on commit fafc961

Please sign in to comment.