From fe04014e1c21568c8c5ee40be6bcabbc22428780 Mon Sep 17 00:00:00 2001 From: Kumamon38 Date: Thu, 9 May 2019 18:33:18 +0200 Subject: [PATCH] Fail test GCC TSAN (#61) * test that fails on Run 8 * commented the failing test --- test/IXWebSocketTestConnectionDisconnection.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test/IXWebSocketTestConnectionDisconnection.cpp b/test/IXWebSocketTestConnectionDisconnection.cpp index 64359974..af7a0ad0 100644 --- a/test/IXWebSocketTestConnectionDisconnection.cpp +++ b/test/IXWebSocketTestConnectionDisconnection.cpp @@ -120,7 +120,7 @@ TEST_CASE("websocket_connections", "[websocket]") chatA.stop(); } - SECTION("Try to connect and disconnect with different timing.") + SECTION("Try to connect and disconnect with different timing, not enough time to succesfully connect") { IXWebSocketTestConnectionDisconnection chatA; for (int i = 0; i < 50; ++i) @@ -131,4 +131,16 @@ TEST_CASE("websocket_connections", "[websocket]") chatA.stop(); } } + + /*SECTION("Try to connect and disconnect with different timing, from not enough time to successfull connect") + { + IXWebSocketTestConnectionDisconnection chatA; + for (int i = 0; i < 20; ++i) + { + log(std::string("Run: ") + std::to_string(i)); + chatA.start(WEBSOCKET_DOT_ORG_URL); + ix::msleep(i*50); + chatA.stop(); + } + }*/ }