Merge branch 'master' into add-close-code-to-websocket-and-fixes

This commit is contained in:
Alexandre Konieczny
2019-04-25 08:39:46 +02:00
5 changed files with 20 additions and 9 deletions

View File

@@ -204,9 +204,8 @@ TEST_CASE("Websocket_server", "[websocket_server]")
// Give us 500ms for the server to notice that clients went away
ix::msleep(500);
REQUIRE(connectionId == "foobarConnectionId");
server.stop();
REQUIRE(connectionId == "foobarConnectionId");
REQUIRE(server.getClients().size() == 0);
}
}