summaryrefslogtreecommitdiffhomepage
path: root/mullvad-tests
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-07-02 14:48:58 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-07-03 10:53:20 -0300
commit5255ac57671fed86fd607b515cd91a16db4322c4 (patch)
tree0ad648f27013ec11f3a0f64170ec55a92f1516fa /mullvad-tests
parent49fded98bf0bb0500021d2cec3c43abd36b38c3f (diff)
downloadmullvadvpn-5255ac57671fed86fd607b515cd91a16db4322c4.tar.xz
mullvadvpn-5255ac57671fed86fd607b515cd91a16db4322c4.zip
Increase state change event timeout
Because now the firewall handling may introduce enough latency for the tests to fail.
Diffstat (limited to 'mullvad-tests')
-rw-r--r--mullvad-tests/tests/connection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-tests/tests/connection.rs b/mullvad-tests/tests/connection.rs
index c0d512056f..25413637e1 100644
--- a/mullvad-tests/tests/connection.rs
+++ b/mullvad-tests/tests/connection.rs
@@ -240,7 +240,7 @@ fn disconnects() {
fn assert_state_event(receiver: &mpsc::Receiver<DaemonState>, expected_state: DaemonState) {
let received_state = receiver
- .recv_timeout(Duration::from_secs(1))
+ .recv_timeout(Duration::from_secs(3))
.expect("Failed to receive new state event from daemon");
assert_eq!(received_state, expected_state);