Skip to content

Commit

Permalink
Merge branch 'branch-1.2' of https://github.com/NetEase/kyuubi into K…
Browse files Browse the repository at this point in the history
…YUUBI-651-FOLLOWUP
  • Loading branch information
ulysses-you committed Jun 1, 2021
2 parents 767727a + e386b13 commit 7070aa7
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,13 @@ class ServiceControlCliSuite extends KyuubiFunSuite with TestPrematureExit {

testPrematureExit(args, getRenderedNodesInfoWithoutTitle(expectedCreatedNodes))
val znodeRoot = s"/$newNamespace"
val children = framework.getChildren.forPath(znodeRoot).asScala
val children = framework.getChildren.forPath(znodeRoot).asScala.sorted
assert(children.size == 2)
assert(children.head ===
s"serviceUri=localhost:10000;version=$KYUUBI_VERSION;sequence=0000000000")
assert(children.last ===
s"serviceUri=localhost:10001;version=$KYUUBI_VERSION;sequence=0000000001")

assert(children.head.startsWith(
s"serviceUri=localhost:10000;version=$KYUUBI_VERSION;sequence="))
assert(children.last.startsWith(
s"serviceUri=localhost:10001;version=$KYUUBI_VERSION;sequence="))
children.foreach { child =>
framework.delete().forPath(s"""$znodeRoot/$child""")
}
Expand Down

0 comments on commit 7070aa7

Please sign in to comment.