Skip to content

Commit

Permalink
Ups delta in batcher test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzyp committed Dec 14, 2015
1 parent 34a15fb commit f37cd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batcher/batcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestMaxTime(t *testing.T) {

// This delta is normally 1-3 ms but running tests in CI with -race causes
// this to run much slower. For now, just bump up the threshold.
assert.InDelta(200, time.Since(before).Seconds()*1000, 50)
assert.InDelta(200, time.Since(before).Seconds()*1000, 100)
assert.True(len(batch) > 0)
assert.Nil(err)
}
Expand Down

0 comments on commit f37cd0c

Please sign in to comment.