Skip to content

Commit

Permalink
Merge pull request #119 from Workiva/batcher_race_condition
Browse files Browse the repository at this point in the history
Ups delta in batcher test case.
  • Loading branch information
alexandercampbell-wk committed Dec 16, 2015
2 parents 34a15fb + f37cd0c commit 2d75b8d
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 2d75b8d

Please sign in to comment.