File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func TestParallelWithoutConcurrencyLimit(t *testing.T) {
3737 dur := time .Since (start )
3838 a .NilNow (err )
3939 a .EqualNow (index , - 1 )
40- a .TrueNow (dur - 100 * time .Millisecond < 5 * time .Millisecond ) // allow 5ms deviation
40+ a .TrueNow (dur - 100 * time .Millisecond < 30 * time .Millisecond ) // allow 30ms deviation
4141}
4242
4343func TestParallelWithConcurrencyLimit (t * testing.T ) {
@@ -56,7 +56,7 @@ func TestParallelWithConcurrencyLimit(t *testing.T) {
5656 dur := time .Since (start )
5757 a .NilNow (err )
5858 a .EqualNow (index , - 1 )
59- a .TrueNow (dur - 300 * time .Millisecond < 10 * time .Millisecond ) // allow 10ms deviation
59+ a .TrueNow (dur - 300 * time .Millisecond < 30 * time .Millisecond ) // allow 30ms deviation
6060}
6161
6262func TestParallelWithFailedTask (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments