Skip to content

Commit

Permalink
sqlcmd path updated for the newest MsSQL image
Browse files Browse the repository at this point in the history
  • Loading branch information
dcihak authored and mnovak1 committed Aug 27, 2024
1 parent 1daa976 commit 8375ab6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions builder/src/main/java/cz/xtf/builder/db/MsSQL.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ protected ProbeSettings getProbeSettings() {
return new ProbeSettings(30,
String.valueOf(this.getPort()),
5,
"/opt/mssql-tools/bin/sqlcmd -S localhost -d " + getDbName() + " -U " + getUsername() + " -P " + getPassword()
+ " -Q \"Select 1\"",
"/opt/mssql-tools18/bin/sqlcmd -S localhost -d " + getDbName() + " -U " + getUsername() + " -P " + getPassword()
+ " -C -Q \"Select 1\"",
5,
"/opt/mssql-tools/bin/sqlcmd -S localhost -d " + getDbName() + " -U " + getUsername() + " -P " + getPassword()
+ " -Q \"Select 1\"",
"/opt/mssql-tools18/bin/sqlcmd -S localhost -d " + getDbName() + " -U " + getUsername() + " -P " + getPassword()
+ " -C -Q \"Select 1\"",
10,
10);
}
Expand Down

0 comments on commit 8375ab6

Please sign in to comment.