Skip to content

Commit

Permalink
Modify finatra test so it would not call system exit (#9361)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Aug 31, 2023
1 parent 4f1becf commit 32614d5
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 @@ -39,7 +39,7 @@ class FinatraServerLatestTest extends AbstractHttpServerTest[HttpServer] {
implicit val ec: ExecutionContext =
ExecutionContext.fromExecutor(startupThread)
Future {
testServer.main(Array("-admin.port=:0", "-http.port=:" + port))
testServer.nonExitingMain(Array("-admin.port=:0", "-http.port=:" + port))
}
testServer.awaitReady()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class FinatraServerTest extends AbstractHttpServerTest[HttpServer] {
implicit val ec: ExecutionContext =
ExecutionContext.fromExecutor(startupThread)
Future {
testServer.main(Array("-admin.port=:0", "-http.port=:" + port))
testServer.nonExitingMain(Array("-admin.port=:0", "-http.port=:" + port))
}
testServer.awaitReady()
}
Expand Down

0 comments on commit 32614d5

Please sign in to comment.