소스 검색

tweak unit test timeout
because IEs...

Andy Li 10 년 전
부모
커밋
3bf4a6a938
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
 	}