fix sleep time

This commit is contained in:
dimagolomozy
2021-08-03 15:21:46 +03:00
parent f115627991
commit f11d59ba19
+1 -1
View File
@@ -217,7 +217,7 @@ func TestMessageTimeoutReached(t *testing.T) {
packets := GetPackets(true, 1, 2, data[:])
p := NewMessageParser(nil, nil, nil, 10*time.Millisecond, true)
p.processPacket(packets[0])
time.Sleep(time.Millisecond * 100)
time.Sleep(time.Second * 2)
p.processPacket(packets[1])
m := p.Read()
if m.Length != 63<<10 {