tsan fix for the IXWebSocketServerTest test, where there's a data race for connectionId
This commit is contained in:
parent
a443bbdf80
commit
82b528ee30
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user