]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: increase timeout in tests
authorJosh Bleecher Snyder <josh@tailscale.com>
Mon, 14 Dec 2020 22:11:33 +0000 (14:11 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 15 Dec 2020 17:08:24 +0000 (18:08 +0100)
commit77f55458962a763b3b2d7f76973ef9043c183145
treec83cc1ccaf6f44a3e9f0ef704eb12a8a869e4cfa
parent6d9ecb7edbe74471d441ee2cce889612455b8354
device: increase timeout in tests

When running many concurrent test processing using
https://godoc.org/golang.org/x/tools/cmd/stress
the processing sometimes cannot complete a ping in under 300ms.
Increase the timeout to 5s to reduce the rate of false positives.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/device_test.go