Skip to content

Commit

Permalink
Changed the shell script names
Browse files Browse the repository at this point in the history
For run this test use -Pnative.enabled=true
  • Loading branch information
Piyush Bisen committed Jul 30, 2019
1 parent 886a1a2 commit a13bd13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/test/scala/io/snappydata/CommandLineToolsSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class CommandLineToolsSuite extends SnappyTestRunner {
test("ODBC_FailOverTest_AddServer_BeforeConn") {
val flag = System.getenv("SNAPPY_NATIVE_ENABLED")
if (flag.equalsIgnoreCase("true")) {
var scriptPath = s"$snappyNativeTestDir/failoverTest_NewServer.sh"
var scriptPath = s"$snappyNativeTestDir/failoverTest_AddServer_BeforeConn.sh"
var consoleOutput = s"$scriptPath $snappyProductDir $snappyNativeTestDir".!!
assert(consoleOutput.contains("Test executed successfully connected to"),
s"FailOver failed $consoleOutput")
Expand All @@ -302,7 +302,7 @@ class CommandLineToolsSuite extends SnappyTestRunner {
test("ODBC_FailOverTest_AddServer_AfterConn") {
val flag = System.getenv("SNAPPY_NATIVE_ENABLED")
if (flag.equalsIgnoreCase("true")) {
var scriptPath = s"$snappyNativeTestDir/failoverTest_None.sh"
var scriptPath = s"$snappyNativeTestDir/failoverTest_AddServer_AfterConn.sh"
var consoleOutput = s"$scriptPath $snappyProductDir $snappyNativeTestDir".!!
assert(consoleOutput.contains("Test executed successfully connected to"),
s"Failed to create new connection $consoleOutput")
Expand Down

0 comments on commit a13bd13

Please sign in to comment.