Fix flaky tests

This commit is contained in:
Michal Horejsek
2020-08-25 10:20:49 +02:00
parent 2269a9edb7
commit 84147a2cb0
2 changed files with 7 additions and 3 deletions

View File

@ -32,7 +32,7 @@ var (
testInput = []interface{}{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
wantOutput = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
testProcessSleep = 100 // ms
runParallelTimeOverhead = 100 // ms
runParallelTimeOverhead = 150 // ms
)
func TestParallel(t *testing.T) {