Skip to content

Commit

Permalink
[KYUUBI #303][FOLLOWUP] Fix test
Browse files Browse the repository at this point in the history
fix #305
Squashed commit of the following:

commit f67ca84
Author: ulysses-you <ulyssesyou18@gmail.com>
Date:   Tue Jan 26 20:36:10 2021 +0800

    init
  • Loading branch information
ulysses-you authored and yaooqinn committed Jan 26, 2021
1 parent d44afdb commit 05c64fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ServerableSuite extends KyuubiFunSuite {
test("invalid port") {
val conf = KyuubiConf().set(KyuubiConf.FRONTEND_BIND_PORT, 100)
val e = intercept[KyuubiException](new NoopServer().initialize(conf))
assert(e.getMessage === "Failed to initialize frontend service")
assert(e.getMessage.contains("Failed to initialize frontend service"))
assert(e.getCause.getMessage === "Invalid Port number")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class KyuubiServerSuite extends KyuubiFunSuite {
ignore("invalid port") {
val conf = KyuubiConf().set(KyuubiConf.FRONTEND_BIND_PORT, 100)
val e = intercept[KyuubiException](new KyuubiServer().initialize(conf))
assert(e.getMessage === "Failed to initialize frontend service")
assert(e.getMessage.contains("Failed to initialize frontend service"))
assert(e.getCause.getMessage === "Invalid Port number")
}
}

0 comments on commit 05c64fe

Please sign in to comment.