Skip to content

Improved test for FAILED_TO_READ_METADATA error - #2555

Open
Hazel-Datastax wants to merge 2 commits into
mainfrom
ajm/session-debugging
Open

Improved test for FAILED_TO_READ_METADATA error#2555
Hazel-Datastax wants to merge 2 commits into
mainfrom
ajm/session-debugging

Conversation

@Hazel-Datastax

@Hazel-Datastax Hazel-Datastax commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

now just check if there is any keyspaces, and log
the config which may hide all keyspaces when throwing
the error

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

Checklist

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

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

📈 Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 53.39%
This PR 53.40%
Delta 🟢 +0.01%
✅ Coverage improved!

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Unit Test Coverage Report

Overall Project 53.4% -0.03% 🍏
Files changed 70.34% 🍏

File Coverage
CqlSessionFactory.java 82.6% -9.09% 🍏

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

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

Metric Value
Main Branch 71.46%
This PR 71.45%
Delta 🔴 -0.02%
⚠️ Coverage decreased

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (dse69-it)

Overall Project 71.45% -0.05% 🍏
Files changed 57.63%

File Coverage
CqlSessionFactory.java 75.06% -12.99%

@github-actions

Copy link
Copy Markdown
Contributor

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

Metric Value
Main Branch 72.78%
This PR 72.79%
Delta 🟢 +0.01%
✅ Coverage improved!

@github-actions

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (hcd-it)

Overall Project 72.79% -0.01% 🍏
Files changed 86.84% 🍏

File Coverage
CqlSessionFactory.java 83.71% -2.86% 🍏

now just check if there is any keyspaces, and log
the config which may hide all keyspaces when throwing
the error
@amorton amorton changed the title test only Improved test for FAILED_TO_READ_METADATA error Aug 20, 2026
@amorton
amorton marked this pull request as ready for review August 20, 2026 07:32
@amorton
amorton requested a review from a team as a code owner August 20, 2026 07:32
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.

FAILED_TO_READ_METADATA thrown for all new sessions

2 participants