diff --git a/tcp/tcp_test.go b/tcp/tcp_test.go index e82b415..c570f52 100644 --- a/tcp/tcp_test.go +++ b/tcp/tcp_test.go @@ -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.Millisecond * 200) p.processPacket(packets[1]) m := p.Read() if m.Length != 63<<10 {