Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Sep 15, 2023
1 parent 8a346e7 commit abbc11e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ public void testStatementExecuteLargeUpdateReturnColumnNames() throws SQLExcepti
Statement statement = connection.createStatement()) {
assertEquals(1, statement.executeLargeUpdate(dml, new String[] {"id"}));
assertEquals(0, statement.executeLargeUpdate(DDL, new String[] {"id"}));
assertEquals(
LARGE_UPDATE_COUNT, statement.executeLargeUpdate(largeDml, new String[] {"id"}));
assertEquals(LARGE_UPDATE_COUNT, statement.executeLargeUpdate(largeDml, new String[] {"id"}));
verifyException(
() -> statement.executeLargeUpdate(query, new String[] {"id"}), Code.FAILED_PRECONDITION);
assertEquals(1L, statement.executeLargeUpdate(dmlReturning, new String[] {"id"}));
Expand Down Expand Up @@ -415,8 +414,7 @@ public void testPreparedStatementExecuteUpdateReturnGeneratedKeys() throws SQLEx
// assertEquals(0, connection.prepareStatement(DDL,
// Statement.NO_GENERATED_KEYS).executeUpdate());
verifyOverflow(
() ->
connection.prepareStatement(largeDml, Statement.NO_GENERATED_KEYS).executeUpdate());
() -> connection.prepareStatement(largeDml, Statement.NO_GENERATED_KEYS).executeUpdate());
verifyException(
() -> connection.prepareStatement(query, Statement.NO_GENERATED_KEYS).executeUpdate());
verifyException(
Expand Down

0 comments on commit abbc11e

Please sign in to comment.