Procházet zdrojové kódy

tweak unit test timeout
because IEs...

Andy Li před 10 roky
rodič
revize
3bf4a6a938
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      tests/unit/src/RunSauceLabs.hx
  2. 1 1
      tests/unit/src/unit/Test.hx

+ 1 - 1
tests/unit/src/RunSauceLabs.hx

@@ -163,7 +163,7 @@ class RunSauceLabs {
 			tags.push("TravisCI");
 
 		var maxDuration = 60 * 5; //5 min
-		var commandTimeout = 30;  //30s
+		var commandTimeout = 60;  //60s
 
 		function testBrowser(caps:Dynamic, trials = 3):Dynamic {
 			console.log('========================================================');

+ 1 - 1
tests/unit/src/unit/Test.hx

@@ -255,7 +255,7 @@ class Test {
 		#if (neko || php || cpp || java || cs || python)
 		#else
 		if( timer != null ) timer.stop();
-		timer = new haxe.Timer(10000);
+		timer = new haxe.Timer(30000);
 		timer.run = asyncTimeout;
 		#end
 	}