SLIDER-500 skipping a bit of a test
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/da67c440 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/da67c440 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/da67c440 Branch: refs/heads/feature/SLIDER-481_allow_dedicated_handling_of_exports Commit: da67c440b7c14671f544b902d4a738b53f5249da Parents: 3dc5abf Author: Steve Loughran <ste...@apache.org> Authored: Fri Oct 10 17:42:08 2014 -0700 Committer: Steve Loughran <ste...@apache.org> Committed: Fri Oct 10 17:42:08 2014 -0700 ---------------------------------------------------------------------- .../standalone/TestStandaloneYarnRegistryAM.groovy | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/da67c440/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneYarnRegistryAM.groovy ---------------------------------------------------------------------- diff --git a/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneYarnRegistryAM.groovy b/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneYarnRegistryAM.groovy index d2c8ce0..e75cc57 100644 --- a/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneYarnRegistryAM.groovy +++ b/slider-core/src/test/groovy/org/apache/slider/agent/standalone/TestStandaloneYarnRegistryAM.groovy @@ -491,13 +491,15 @@ class TestStandaloneYarnRegistryAM extends AgentMiniClusterTestBase { def hbase = homePathForUser(HBASE) def hbaseServices = serviceclassPath(hbase, SliderKeys.APP_TYPE) - - assert SliderExitCodes.EXIT_NOT_FOUND == client.actionResolve( - new ActionResolveArgs( - path: hbaseServices, - list: true)) - assert SliderExitCodes.EXIT_NOT_FOUND == client.actionResolve( - new ActionResolveArgs(path: hbaseServices)) + // only check this if the YARN registry renaming logic is in + if (!hbase.contains("@")) { + assert SliderExitCodes.EXIT_NOT_FOUND == client.actionResolve( + new ActionResolveArgs( + path: hbaseServices, + list: true)) + assert SliderExitCodes.EXIT_NOT_FOUND == client.actionResolve( + new ActionResolveArgs(path: hbaseServices)) + } } }