diff options
Diffstat (limited to 'device/device_test.go')
-rw-r--r-- | device/device_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/device_test.go b/device/device_test.go index cc84821..a91e6ca 100644 --- a/device/device_test.go +++ b/device/device_test.go @@ -112,7 +112,7 @@ func TestTwoDevicePing(t *testing.T) { if !bytes.Equal(msg2to1, msgRecv) { t.Error("ping did not transit correctly") } - case <-time.After(300 * time.Millisecond): + case <-time.After(5 * time.Second): t.Error("ping did not transit") } }) @@ -125,7 +125,7 @@ func TestTwoDevicePing(t *testing.T) { if !bytes.Equal(msg1to2, msgRecv) { t.Error("return ping did not transit correctly") } - case <-time.After(300 * time.Millisecond): + case <-time.After(5 * time.Second): t.Error("return ping did not transit") } }) |