浏览代码

Increased WebSocketServer test timeout

Paul-Louis Ageneau 3 年之前
父节点
当前提交
ae87a264ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/websocketserver.cpp

+ 1 - 1
test/websocketserver.cpp

@@ -92,7 +92,7 @@ void test_websocketserver() {
 
 
 	ws.open("wss://localhost:48080/");
 	ws.open("wss://localhost:48080/");
 
 
-	int attempts = 10;
+	int attempts = 15;
 	while ((!ws.isOpen() || !received) && attempts--)
 	while ((!ws.isOpen() || !received) && attempts--)
 		this_thread::sleep_for(1s);
 		this_thread::sleep_for(1s);