From 92824bb5b05270a99966ff5400d5543a71f4ede4 Mon Sep 17 00:00:00 2001 From: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com> Date: Tue, 16 Apr 2024 06:55:24 +0530 Subject: [PATCH] Integration test- add delay between server and client --- rosenpass/tests/integration_test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rosenpass/tests/integration_test.rs b/rosenpass/tests/integration_test.rs index a605674..31554c7 100644 --- a/rosenpass/tests/integration_test.rs +++ b/rosenpass/tests/integration_test.rs @@ -199,6 +199,8 @@ fn check_exchange_under_dos() { .unwrap(); }); + std::thread::sleep(Duration::from_millis(500)); + // start second process, the client let mut client = test_bin::get_test_bin(BIN) .args(["exchange", "secret-key"])