Skip to content

Fix flaky TestCassandraTypeMapping tests by waiting for table metadata propagation#29145

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
JohnFitzpatrick44:jcf/fix-flaky-cassandra-tests
Apr 16, 2026
Merged

Fix flaky TestCassandraTypeMapping tests by waiting for table metadata propagation#29145
ebyhr merged 1 commit intotrinodb:masterfrom
JohnFitzpatrick44:jcf/fix-flaky-cassandra-tests

Conversation

@JohnFitzpatrick44
Copy link
Copy Markdown
Member

Description

We've seen TestCassandraTypeMapping tests intermittently fail with 'Table does not exist' errors due to Cassandra driver metadata propagation delays. This change adds an assertEventually to ensure the table is queryable before finishing table setup.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Apr 16, 2026
@github-actions github-actions bot added the cassandra Cassandra connector label Apr 16, 2026
@JohnFitzpatrick44 JohnFitzpatrick44 requested a review from ebyhr April 16, 2026 19:55
@ebyhr ebyhr merged commit 12f5177 into trinodb:master Apr 16, 2026
19 checks passed
@github-actions github-actions bot added this to the 481 milestone Apr 16, 2026
@ebyhr ebyhr mentioned this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cassandra Cassandra connector cla-signed

Development

Successfully merging this pull request may close these issues.

2 participants