Browse Source

Increased wait time in WebSocket echo test

Paul-Louis Ageneau 3 years ago
parent
commit
d63d7b5107
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/websocket.cpp

+ 1 - 1
test/websocket.cpp

@@ -60,7 +60,7 @@ void test_websocket() {
 
 	ws.open("wss://echo.websocket.org:443/");
 
-	int attempts = 10;
+	int attempts = 20;
 	while ((!ws.isOpen() || !received) && attempts--)
 		this_thread::sleep_for(1s);