Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAVA-3062: Figure out a better solution for PreparedStatementIT tests around JAVA-3058 #1660

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

hhughes
Copy link
Contributor

@hhughes hhughes commented Jun 26, 2023

No description provided.

@hhughes
Copy link
Contributor Author

hhughes commented Jun 26, 2023

Reopened from #1645

Copy link
Contributor

@absurdfarce absurdfarce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks like you've covered everything here as well. Let's get this one in too!

… 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
@hhughes hhughes merged commit dec8ac9 into 4.x Jun 27, 2023
@hhughes hhughes deleted the JAVA-3062 branch July 26, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants