Skip to content

Commit

Permalink
fix testProdConnectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Oct 9, 2023
1 parent 1a52fcb commit e8d20bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/snowflake/client/jdbc/ConnectionIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void testProdConnectivity() throws SQLException {
DriverManager.getConnection(url, properties);
fail();
} catch (SQLException e) {
assertThat(e.getErrorCode(), is(INVALID_CONNECTION_INFO_CODE));
assertThat(e.getErrorCode(), anyOf(is(INVALID_CONNECTION_INFO_CODE), is(BAD_REQUEST_GS_CODE)));
}
}
}
Expand Down

0 comments on commit e8d20bc

Please sign in to comment.