diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-10 01:01:37 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-10 01:01:37 +0100 |
commit | 747f5440bc18492a63eb91cba7db72b16c96176d (patch) | |
tree | 7cfa396f4d585518872f81a2717558fecc851074 /device/race_disabled_test.go | |
parent | aabc3770bad3ac6674a7a3952cdcd88f11dd1a72 (diff) |
device: retry Up() in up/down test
We're loosing our ownership of the port when bringing the device down,
which means another test process could reclaim it. Avoid this by
retrying for 4 seconds.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/race_disabled_test.go')
0 files changed, 0 insertions, 0 deletions