You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/10/14 19:55:11 UTC
git commit: SLIDER-513 funtest AgentFailures2IT test is failing
Repository: incubator-slider
Updated Branches:
refs/heads/develop 73117e516 -> d08a61df7
SLIDER-513 funtest AgentFailures2IT test is failing
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/d08a61df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/d08a61df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/d08a61df
Branch: refs/heads/develop
Commit: d08a61df78fa1ff66fd3ca7550e1f8abb7e9fb1c
Parents: 73117e5
Author: Steve Loughran <st...@apache.org>
Authored: Tue Oct 14 10:54:38 2014 -0700
Committer: Steve Loughran <st...@apache.org>
Committed: Tue Oct 14 10:54:38 2014 -0700
----------------------------------------------------------------------
.../slider/funtest/lifecycle/AgentFailures2IT.groovy | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/d08a61df/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentFailures2IT.groovy
----------------------------------------------------------------------
diff --git a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentFailures2IT.groovy b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentFailures2IT.groovy
index a02fc0e..8a4140c 100644
--- a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentFailures2IT.groovy
+++ b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentFailures2IT.groovy
@@ -47,14 +47,12 @@ implements FuntestProperties, Arguments, SliderExitCodes, SliderActions {
@Test
public void testAgentFailHeartbeatingTwiceOnce() throws Throwable {
- if (!AGENTTESTS_ENABLED) {
- log.info "TESTS are not run."
- return
- }
-
+ assumeAgentTestsEnabled()
+
cleanup(APPLICATION_NAME)
- SliderShell shell = createTemplatedSliderApplication(APP_TEMPLATE3,
- ARG_RESOURCES,
+ SliderShell shell = createTemplatedSliderApplication(
+ APPLICATION_NAME,
+ APP_TEMPLATE3,
APP_RESOURCE)
logShell(shell)