Merge pull request #2556 from gaurav1086/oomparser_fix_data_race
oomparser_test: fix data race
This commit is contained in:
commit
92f31e79a7
@ -450,6 +450,7 @@ func TestStreamOOMs(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, pair := range testPairs {
|
||||
pair := pair
|
||||
go func() {
|
||||
for _, x := range pair.in {
|
||||
writeAll(x.msgs, x.time)
|
||||
|
Loading…
Reference in New Issue
Block a user