Преглед на файлове

Increased wait time in WebSocket echo test

Paul-Louis Ageneau преди 3 години
родител
ревизия
d63d7b5107
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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/");
 	ws.open("wss://echo.websocket.org:443/");
 
 
-	int attempts = 10;
+	int attempts = 20;
 	while ((!ws.isOpen() || !received) && attempts--)
 	while ((!ws.isOpen() || !received) && attempts--)
 		this_thread::sleep_for(1s);
 		this_thread::sleep_for(1s);