tsan fix for the IXWebSocketServerTest test, where there's a data race for connectionId
This commit is contained in:
		@@ -204,9 +204,8 @@ TEST_CASE("Websocket_server", "[websocket_server]")
 | 
				
			|||||||
        // Give us 500ms for the server to notice that clients went away
 | 
					        // Give us 500ms for the server to notice that clients went away
 | 
				
			||||||
        ix::msleep(500);
 | 
					        ix::msleep(500);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        REQUIRE(connectionId == "foobarConnectionId");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        server.stop();
 | 
					        server.stop();
 | 
				
			||||||
 | 
					        REQUIRE(connectionId == "foobarConnectionId");
 | 
				
			||||||
        REQUIRE(server.getClients().size() == 0);
 | 
					        REQUIRE(server.getClients().size() == 0);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user