diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-02-09 08:20:11 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-09 18:28:59 +0100 |
commit | 465261310b55898c3f67809bd56d58442bca4554 (patch) | |
tree | 5bbda7dfbaea51185feba586fbedd77ba0b782c8 | |
parent | d117d42ae74d276cd986337d218bd9f4220c789e (diff) |
device: run fewer iterations in TestUpDown
The high iteration count was useful when TestUpDown
was the nexus of new bugs to investigate.
Now that it has stabilized, that's less valuable.
And it slows down running the tests and crowds out other tests.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
-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 8f16207..ce1ba9b 100644 --- a/device/device_test.go +++ b/device/device_test.go @@ -196,8 +196,8 @@ func TestTwoDevicePing(t *testing.T) { func TestUpDown(t *testing.T) { goroutineLeakCheck(t) - const itrials = 200 - const otrials = 10 + const itrials = 20 + const otrials = 1 for n := 0; n < otrials; n++ { pair := genTestPair(t) |