Skip to content

Commit

Permalink
Revise #20114 Add assertion in unit tests (#20215)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeslaCN authored Aug 16, 2022
1 parent 92de507 commit 9984d6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void assertSwitchSchemaWhileBegin() throws SQLException {
JDBCBackendTransactionManager transactionManager = new JDBCBackendTransactionManager(backendConnection);
transactionManager.begin();
connectionSession.setCurrentDatabase("newDB");
assertThat(connectionSession.getDefaultDatabaseName(), is("newDB"));
}

@Test
Expand Down

0 comments on commit 9984d6b

Please sign in to comment.