tsan fix for the IXWebSocketServerTest test, where there's a data race for connectionId

This commit is contained in:
Benjamin Sergeant 2019-04-24 22:10:22 -07:00
parent a443bbdf80
commit 82b528ee30

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