Skip to content

Conversation

@Hazel-Datastax
Copy link
Contributor

@Hazel-Datastax Hazel-Datastax commented Dec 23, 2025

What this PR does:
We've added fixes for #2246, but we only have unit tests for it. This PR is to add an integration test to simulate DB failure and verify the session eviction and request recovery.

Which issue(s) this PR fixes:
Fixes #2246

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

➡️ Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 50.61%
This PR 50.61%
Delta ⚪ 0.00%
ℹ️ Coverage unchanged

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Unit Test Coverage Report

Overall Project 50.61% 🍏

There is no coverage information present for the Files changed

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

📈 Integration Test Coverage Delta vs Main Branch (hcd-it)

Metric Value
Main Branch 72.49%
This PR 72.62%
Delta 🟢 +0.14%
✅ Coverage improved!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

Integration Test Coverage Report (hcd-it)

Overall Project 72.62% 🍏

There is no coverage information present for the Files changed

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

📈 Integration Test Coverage Delta vs Main Branch (dse69-it)

Metric Value
Main Branch 70.69%
This PR 70.85%
Delta 🟢 +0.16%
✅ Coverage improved!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

Integration Test Coverage Report (dse69-it)

Overall Project 70.85% 🍏

There is no coverage information present for the Files changed

@Hazel-Datastax Hazel-Datastax changed the title Integration test for 2246 Integration Test for #2246: add IT for session eviction during DB failure Jan 16, 2026
@Hazel-Datastax Hazel-Datastax marked this pull request as ready for review January 16, 2026 21:04
@Hazel-Datastax Hazel-Datastax requested a review from a team as a code owner January 16, 2026 21:04
*
* @param props A map containing the properties to be set as system properties.
*/
protected void exposeSystemProperties(Map<String, String> props) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe name should be more like "overrideSystemProperties" or "setSystemProperties"?

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.

CQLSessionCache: Failure to evict stale sessions on AllNodesFailedException prevents automatic recovery from cluster restarts

3 participants