Skip to content

Commit

Permalink
Add formatErrorMsg for comparing error messages in tests (#1034)
Browse files Browse the repository at this point in the history
added formatErrorMsg to compare messages and cleanup
  • Loading branch information
lilgreenbird authored Apr 24, 2019
1 parent 3242324 commit 51d6c40
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 346 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void setupInfo(SQLServerConnection con) throws SQLServerException {
con.getConnectionLogger().fine(con.toString() + " Failover server :" + failoverPartner);
instanceValue = failoverPartner.substring(px + 1, failoverPartner.length());
failoverPartner = failoverPartner.substring(0, px);
con.ValidateMaxSQLLoginName(SQLServerDriverStringProperty.INSTANCE_NAME.toString(), instanceValue);
con.validateMaxSQLLoginName(SQLServerDriverStringProperty.INSTANCE_NAME.toString(), instanceValue);
failoverInstance = instanceValue;
instancePort = con.getInstancePort(failoverPartner, instanceValue);

Expand Down
Loading

0 comments on commit 51d6c40

Please sign in to comment.