Skip to content

Commit

Permalink
Increase test ping interval
Browse files Browse the repository at this point in the history
Sometimes tests fail when they are executed concurrently and the server does not respond fast enough.
  • Loading branch information
ungive committed Feb 19, 2025
1 parent 611e208 commit 7b4ac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/test/client_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static std::shared_ptr<TestClient> create_client(
options.websocket.basic_authorization = TEST_AUTH;
}
if (!options.websocket.ping_interval.has_value()) {
options.websocket.ping_interval = 20ms;
options.websocket.ping_interval = 25ms;
}
auto client = std::make_shared<TestClient>(TEST_ADDRESS, options);
if (started) {
Expand Down

0 comments on commit 7b4ac7f

Please sign in to comment.