aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/router/tests.rs')
-rw-r--r--src/wireguard/router/tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wireguard/router/tests.rs b/src/wireguard/router/tests.rs
index 8d1e812..bad657c 100644
--- a/src/wireguard/router/tests.rs
+++ b/src/wireguard/router/tests.rs
@@ -50,6 +50,7 @@ mod tests {
}))
}
+ #[allow(dead_code)]
fn reset(&self) {
self.0.send.lock().unwrap().clear();
self.0.recv.lock().unwrap().clear();
@@ -103,7 +104,7 @@ mod tests {
}
}
- // wait for scheduling
+ // wait for scheduling (VERY conservative)
fn wait() {
thread::sleep(Duration::from_millis(30));
}