Skip to content

Commit

Permalink
Reverted test changes to try to get some consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery-Wasty committed Jan 16, 2024
1 parent 5a24960 commit 9568e96
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public void testBatchedUnprepare() throws SQLException {
prevDiscardActionCount = 0;
}

assertSame(1, con.getDiscardedServerPreparedStatementCount());
assertSame(prevDiscardActionCount, con.getDiscardedServerPreparedStatementCount());
}

// Skipped for now due to unexpected failures. Not functional so not critical.
Expand Down Expand Up @@ -400,7 +400,6 @@ public void testStatementPoolingEviction() throws SQLException {
}

// If we use it, now discard queue should be "full".
// At any point, con.getDiscardedPreparedStatementCount will always be 1 (i.e. the last eviction).
if (0 == testNo)
assertSame(discardedStatementCount, con.getDiscardedServerPreparedStatementCount());
else
Expand Down

0 comments on commit 9568e96

Please sign in to comment.