Browse Source

Increased test timings for destruction

Paul-Louis Ageneau 5 years ago
parent
commit
6f419a32ea
3 changed files with 3 additions and 3 deletions
  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();