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 fe04014e1c
commit 287537b34a
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); REQUIRE(server.getClients().size() == 1);
ix::msleep(2900); ix::msleep(2700);
// Here we test ping timeout, no timeout yet // Here we test ping timeout, no timeout yet
REQUIRE(serverReceivedPingMessages == 0); REQUIRE(serverReceivedPingMessages == 0);
@ -359,7 +359,7 @@ TEST_CASE("Websocket_no_ping_but_timeout", "[setPingTimeout]")
REQUIRE(webSocketClient.isClosed() == false); REQUIRE(webSocketClient.isClosed() == false);
REQUIRE(webSocketClient.closedDueToPingTimeout() == false); REQUIRE(webSocketClient.closedDueToPingTimeout() == false);
ix::msleep(200); ix::msleep(400);
// Here we test ping timeout, timeout // Here we test ping timeout, timeout
REQUIRE(serverReceivedPingMessages == 0); REQUIRE(serverReceivedPingMessages == 0);