mirror of https://github.com/v2ray/v2ray-core
fix pipe test
parent
69178ed6a2
commit
f66b127c0a
|
@ -117,6 +117,8 @@ func TestPipeWriteMultiThread(t *testing.T) {
|
||||||
return pWriter.WriteMultiBuffer(buf.MultiBuffer{b})
|
return pWriter.WriteMultiBuffer(buf.MultiBuffer{b})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
time.Sleep(time.Millisecond * 100)
|
||||||
|
pWriter.Close()
|
||||||
errg.Wait()
|
errg.Wait()
|
||||||
|
|
||||||
b, err := pReader.ReadMultiBuffer()
|
b, err := pReader.ReadMultiBuffer()
|
||||||
|
|
Loading…
Reference in New Issue