Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Agrawal <[email protected]>
  • Loading branch information
lezzago committed May 20, 2022
1 parent b40ad54 commit 7b5218b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ abstract class PluginRestTestCase : OpenSearchRestTestCase() {
}

protected fun isLocalHost(): Boolean {
val host = System.getProperty("tests.cluster")!!.toString()
val host = System.getProperty("tests.cluster", "dummyHost")!!.toString()
return host.startsWith("localhost:")
}

Expand Down

0 comments on commit 7b5218b

Please sign in to comment.