chore: make test stable (#3412)

master
Kevin Wan 1 year ago committed by GitHub
parent 13cdbdc98b
commit 77da459165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -574,6 +574,7 @@ func TestMapReduceWithContext(t *testing.T) {
cancel()
}
writer.Write(i)
time.Sleep(time.Millisecond)
}, func(pipe <-chan int, cancel func(error)) {
for item := range pipe {
i := item

Loading…
Cancel
Save