mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
fix pipe test
This commit is contained in:
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
Block a user