Skip to content

Commit

Permalink
Update ws test
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Sep 28, 2024
1 parent 0994834 commit 1da92f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_ws.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 1da92f1

Please sign in to comment.