Skip to content

Commit

Permalink
JAVA-3062: Figure out a better solution for PreparedStatementIT tests…
Browse files Browse the repository at this point in the history
… around JAVA-3058

PreparedStatementIT.java:
- Make tests resistant to JVM GC clearing items from prepared statement cache mid-test

PreparedStatementCachingIT.java:
- Prepared statement tests related to caching
- Uses custom session builder and driver context to use strong statement cache
- Move to IsolatedTests category because it uses system properties
- Consolidate to single invalidationResultSetTest method
- Verify exact set of types change events seen
- Best-effort check no duplicated type-change/cache-removal events were fired

SessionUtils.java
- SESSION_BUILDER_CLASS_PROPERTY property should be read dynamically
  • Loading branch information
absurdfarce authored and hhughes committed Jun 27, 2023
1 parent 7d01a5b commit b3d8105
Show file tree
Hide file tree
Showing 3 changed files with 446 additions and 158 deletions.
Loading

0 comments on commit b3d8105

Please sign in to comment.