1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 00:45:24 +00:00

update auth test

This commit is contained in:
Darien Raymond 2017-02-06 14:02:17 +01:00
parent ce34a25e66
commit 775b4ef542
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -102,7 +102,11 @@ func TestAuthenticationReaderWriterPartial(t *testing.T) {
go func() {
pw.Write(cache.BytesTo(1024))
time.Sleep(time.Second * 2)
pw.Write(cache.BytesFrom(1024))
pw.Write(cache.BytesRange(1024, 2048))
time.Sleep(time.Second * 2)
pw.Write(cache.BytesRange(2048, 3072))
time.Sleep(time.Second * 2)
pw.Write(cache.BytesFrom(3072))
time.Sleep(time.Second * 2)
pw.Close()
}()