diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-09-02 23:32:07 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-09-02 23:32:07 +0200 |
commit | f55014ef8ff7308d37be9c92f41b9ccf809c719d (patch) | |
tree | 0a8ea562dd872b1a5a0a2271256bd1b6d6d5d731 /src/router/tests.rs | |
parent | Reconsider inorder queueing (diff) | |
download | wireguard-rs-f55014ef8ff7308d37be9c92f41b9ccf809c719d.tar.xz wireguard-rs-f55014ef8ff7308d37be9c92f41b9ccf809c719d.zip |
Wake workers when submitting work
Diffstat (limited to 'src/router/tests.rs')
-rw-r--r-- | src/router/tests.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/router/tests.rs b/src/router/tests.rs index 8c51ff1..d626aeb 100644 --- a/src/router/tests.rs +++ b/src/router/tests.rs @@ -162,9 +162,6 @@ fn test_outbound() { ), ]; - thread::sleep(Duration::from_millis(1000)); - assert!(false); - peer.add_keypair(dummy_keypair(true)); for (mask, len, ip, okay) in &tests { @@ -199,10 +196,7 @@ fn test_outbound() { } else { assert!(res.is_err()); } - // clear subnets for next test peer.remove_subnets(); } - - assert!(false); } |