You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by el...@apache.org on 2014/11/22 23:05:16 UTC
[45/50] incubator-slider git commit: SLIDER-649 extends test sleep
times
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/master
Commit: fb25d9356353c79bd2fd89bf73b913aaa508a630
Parents: 2c6cc49
Author: Jon Maron <jm...@hortonworks.com>
Authored: Thu Nov 13 18:08:05 2014 -0500
Committer: Sumit Mohanty <sm...@hortonworks.com>
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
}