From 7b4ac7f2754ee398fa8ff03872d374d2a187e9c9 Mon Sep 17 00:00:00 2001 From: Jonas van den Berg Date: Wed, 19 Feb 2025 15:31:54 +0100 Subject: [PATCH] Increase test ping interval Sometimes tests fail when they are executed concurrently and the server does not respond fast enough. --- client/test/client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/test/client_test.cpp b/client/test/client_test.cpp index d0a2a0b..80b52e0 100644 --- a/client/test/client_test.cpp +++ b/client/test/client_test.cpp @@ -95,7 +95,7 @@ static std::shared_ptr 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(TEST_ADDRESS, options); if (started) {