Repository: incubator-slider
Updated Branches:
  refs/heads/releases/slider-0.60 2c6cc4973 -> fb25d9356


SLIDER-649 extends test sleep times


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/fb25d935
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/fb25d935
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/fb25d935

Branch: refs/heads/releases/slider-0.60
Commit: fb25d9356353c79bd2fd89bf73b913aaa508a630
Parents: 2c6cc49
Author: Jon Maron <[email protected]>
Authored: Thu Nov 13 18:08:05 2014 -0500
Committer: Sumit Mohanty <[email protected]>
Committed: Thu Nov 13 18:58:10 2014 -0800

----------------------------------------------------------------------
 .../slider/agent/standalone/TestStandaloneAMRestart.groovy     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/fb25d935/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneAMRestart.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneAMRestart.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneAMRestart.groovy
index d8f7141..bdcf615 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneAMRestart.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneAMRestart.groovy
@@ -80,7 +80,7 @@ class TestStandaloneAMRestart extends 
AgentMiniClusterTestBase {
 
     // kill again & expect it to be considered a failure
     killAmAndWaitForDeath(sliderClient, iteration++, clustername)
-    sleep(20000)
+    sleep(40000)
 
     report = sliderClient.applicationReport
     assert report.finalApplicationStatus == FinalApplicationStatus.FAILED
@@ -109,8 +109,8 @@ class TestStandaloneAMRestart extends 
AgentMiniClusterTestBase {
         iteration,
         clustername)
     //give yarn some time to notice
-    sleep(20000)
-    waitUntilClusterLive(sliderClient, 20000)
+    sleep(40000)
+    waitUntilClusterLive(sliderClient, 40000)
     return args
   }
 

Reply via email to