Repository: incubator-slider Updated Branches: refs/heads/releases/slider-0.52 [created] 57130b5d6 refs/heads/releases/slider-0.60 [created] 5034161db
SLIDER-602 AgentRegistryIT-testAgentRegistry 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/7fb01c36 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/7fb01c36 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/7fb01c36 Branch: refs/heads/releases/slider-0.52 Commit: 7fb01c36a16cf3ae20278dda2ef02b93b8342d46 Parents: 96c9006 Author: Steve Loughran <ste...@apache.org> Authored: Sun Nov 2 20:20:56 2014 +0000 Committer: Steve Loughran <ste...@apache.org> Committed: Sun Nov 2 20:20:56 2014 +0000 ---------------------------------------------------------------------- .../funtest/lifecycle/AgentRegistryIT.groovy | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/7fb01c36/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentRegistryIT.groovy ---------------------------------------------------------------------- diff --git a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentRegistryIT.groovy b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentRegistryIT.groovy index 5b8b3cd..c7fa5da 100644 --- a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentRegistryIT.groovy +++ b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentRegistryIT.groovy @@ -82,13 +82,15 @@ public class AgentRegistryIT extends AgentCommandTestBase // resolve the ~ path - resolve(0, [ARG_LIST, ARG_PATH, "/"]) - resolve(0, [ARG_LIST, ARG_PATH, "/users"]) + resolve(0, [ARG_LIST, ARG_PATH, "/"]).dumpOutput() + resolve(0, [ARG_LIST, ARG_PATH, "/users"]).dumpOutput() - resolve(0, [ARG_LIST, ARG_PATH, TILDE]).dumpOutput() + def home = homepath() + resolve(0, [ARG_LIST, ARG_PATH, home]).dumpOutput() - String sliderApps = "${TILDE}/services/${SliderKeys.APP_TYPE}" + + String sliderApps = "${home}/services/${SliderKeys.APP_TYPE}" resolve(0, [ARG_LIST, ARG_PATH, sliderApps]).dumpOutput() // running app @@ -133,4 +135,12 @@ public class AgentRegistryIT extends AgentCommandTestBase //cluster now missing exists(EXIT_UNKNOWN_INSTANCE, CLUSTER) } + + /** + * Return the home registry path + * @return + */ + public String homepath() { + return RegistryUtils.homePathForCurrentUser() + } }