SLIDER-886 TestZKIntegration.testListUserClustersWithTwoCluster 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/2263663e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/2263663e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/2263663e

Branch: refs/heads/develop
Commit: 2263663e20eb97e85cb31e9c1d57c57b5cc006bb
Parents: 8ceddfd
Author: Steve Loughran <[email protected]>
Authored: Fri May 29 11:41:54 2015 +0100
Committer: Steve Loughran <[email protected]>
Committed: Fri May 29 11:41:54 2015 +0100

----------------------------------------------------------------------
 .../groovy/org/apache/slider/common/tools/TestZKIntegration.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/2263663e/slider-core/src/test/groovy/org/apache/slider/common/tools/TestZKIntegration.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestZKIntegration.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestZKIntegration.groovy
index 431c49f..d8dbfcd 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestZKIntegration.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestZKIntegration.groovy
@@ -99,7 +99,7 @@ class TestZKIntegration extends YarnZKMiniClusterTestBase 
implements KeysForTest
     log.info("Ephemeral path $c2")
     List<String> clusters = zki.clusters
     assert clusters.size() == 2
-    assert (c1.endsWith(clusters[0]) && c1.endsWith(clusters[1])) ||
+    assert (c1.endsWith(clusters[0]) && c2.endsWith(clusters[1])) ||
            (c1.endsWith(clusters[1]) && c2.endsWith(clusters[0]))
   }
 

Reply via email to