From 1da92f1f85aa5edfced0c79d3e1ad5b6f4a580cf Mon Sep 17 00:00:00 2001 From: Lars Ivar Hatledal Date: Sun, 29 Sep 2024 01:14:27 +0200 Subject: [PATCH] Update ws test --- tests/test_ws.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_ws.cpp b/tests/test_ws.cpp index a67f8ae..34acff0 100644 --- a/tests/test_ws.cpp +++ b/tests/test_ws.cpp @@ -55,9 +55,10 @@ TEST_CASE("test Websocket") { }; client.connect("127.0.0.1", *port); - std::this_thread::sleep_for(std::chrono::seconds(2)); + std::this_thread::sleep_for(std::chrono::seconds(1)); client.close(); + std::this_thread::sleep_for(std::chrono::seconds(1)); ws.stop(); CHECK(serverOpen.load());