]> 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>
Thu, 7 Jan 2021 13:49:44 +0000 (14:49 +0100)
commitdb1edc7e915635dfd31554f8f9a80d6e20740926
treec83cc1ccaf6f44a3e9f0ef704eb12a8a869e4cfa
parentfc0aabbae94f8da498c8fab89b833b4e7a3abab6
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