Explorar o código

Increased test timings for destruction

Paul-Louis Ageneau %!s(int64=5) %!d(string=hai) anos
pai
achega
6f419a32ea
Modificáronse 3 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      test/capi.cpp
  2. 1 1
      test/connectivity.cpp
  3. 1 1
      test/websocket.cpp

+ 1 - 1
test/capi.cpp

@@ -200,7 +200,7 @@ int test_capi_main() {
 
 	// You may call rtcCleanup() when finished to free static resources
 	rtcCleanup();
-	sleep(1);
+	sleep(2);
 
 	printf("Success\n");
 	return 0;

+ 1 - 1
test/connectivity.cpp

@@ -150,7 +150,7 @@ void test_connectivity() {
 
 	// You may call rtc::Cleanup() when finished to free static resources
 	rtc::Cleanup();
-	this_thread::sleep_for(1s);
+	this_thread::sleep_for(2s);
 
 	cout << "Success" << endl;
 }

+ 1 - 1
test/websocket.cpp

@@ -72,7 +72,7 @@ void test_websocket() {
 		throw runtime_error("Expected message not received");
 
 	ws->close();
-	this_thread::sleep_for(1s);
+	this_thread::sleep_for(2s);
 
 	// You may call rtc::Cleanup() when finished to free static resources
 	rtc::Cleanup();