Fix stream closing tests

This commit is contained in:
Andy Wang 2020-10-18 22:56:31 +01:00
parent 54bca721e8
commit ef040b0115
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ func TestStream_Close(t *testing.T) {
if err != nil {
t.Errorf("can't read residual data %v", err)
}
time.Sleep(100 * time.Microsecond)
time.Sleep(100 * time.Millisecond)
if sI, _ := sesh.streams.Load(stream.(*Stream).id); sI != nil {
t.Error("stream still exists")
return