Skip to content

Commit 2d75b8d

Browse files
Merge pull request #119 from Workiva/batcher_race_condition
Ups delta in batcher test case.
2 parents 34a15fb + f37cd0c commit 2d75b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batcher/batcher_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestMaxTime(t *testing.T) {
8484

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

0 commit comments

Comments
 (0)