Integration test- add delay between server and client

This commit is contained in:
Prabhpreet Dua
2024-04-16 06:55:24 +05:30
parent 8d20e77173
commit 92824bb5b0

View File

@@ -199,6 +199,8 @@ fn check_exchange_under_dos() {
.unwrap(); .unwrap();
}); });
std::thread::sleep(Duration::from_millis(500));
// start second process, the client // start second process, the client
let mut client = test_bin::get_test_bin(BIN) let mut client = test_bin::get_test_bin(BIN)
.args(["exchange", "secret-key"]) .args(["exchange", "secret-key"])