From 720f57da27caad0c1515ceba29bf186a386c09dc Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 9 May 2019 11:10:32 -0700 Subject: [PATCH] tweak unittest sleep duration to fix gcc+linux CI --- DOCKER_VERSION | 2 +- test/IXWebSocketPingTimeoutTest.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DOCKER_VERSION b/DOCKER_VERSION index 428b770e..4cda8f19 100644 --- a/DOCKER_VERSION +++ b/DOCKER_VERSION @@ -1 +1 @@ -1.4.3 +1.5.2 diff --git a/test/IXWebSocketPingTimeoutTest.cpp b/test/IXWebSocketPingTimeoutTest.cpp index 5e72a104..80174e35 100644 --- a/test/IXWebSocketPingTimeoutTest.cpp +++ b/test/IXWebSocketPingTimeoutTest.cpp @@ -350,7 +350,7 @@ TEST_CASE("Websocket_no_ping_but_timeout", "[setPingTimeout]") REQUIRE(server.getClients().size() == 1); - ix::msleep(2900); + ix::msleep(2700); // Here we test ping timeout, no timeout yet REQUIRE(serverReceivedPingMessages == 0); @@ -359,7 +359,7 @@ TEST_CASE("Websocket_no_ping_but_timeout", "[setPingTimeout]") REQUIRE(webSocketClient.isClosed() == false); REQUIRE(webSocketClient.closedDueToPingTimeout() == false); - ix::msleep(200); + ix::msleep(400); // Here we test ping timeout, timeout REQUIRE(serverReceivedPingMessages == 0);