tweak unittest sleep duration to fix gcc+linux CI

This commit is contained in:
Benjamin Sergeant 2019-05-09 11:10:32 -07:00
parent e29c0ce654
commit 720f57da27
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
1.4.3
1.5.2

View File

@ -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);