Skip to content

schemachanger: unskip multitenancy tests for TestCreateObjectConcurrency#160592

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rafiss:mt-TestCreateObjectConcurrency
Jan 7, 2026
Merged

schemachanger: unskip multitenancy tests for TestCreateObjectConcurrency#160592
craig[bot] merged 1 commit intocockroachdb:masterfrom
rafiss:mt-TestCreateObjectConcurrency

Conversation

@rafiss
Copy link
Copy Markdown
Collaborator

@rafiss rafiss commented Jan 7, 2026

Under multitenancy, the test can encounter retry errors while the schema changer updates the span_counts table. This change wraps the test logic in SucceedsWithin with a longer timeout (10s for tenant mode vs 1s otherwise) and moves database setup into the retry loop.

fixes #138733
Release note: None

Under multitenancy, the test can encounter retry errors while the schema
changer updates the span_counts table. This change wraps the test logic
in SucceedsWithin with a longer timeout (10s for tenant mode vs 1s
otherwise) and moves database setup into the retry loop.

Release note: None
@rafiss rafiss requested a review from a team as a code owner January 7, 2026 05:30
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

:lgtm:

@fqazi reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rafiss).

@rafiss
Copy link
Copy Markdown
Collaborator Author

rafiss commented Jan 7, 2026

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 7, 2026

@craig craig bot merged commit 5728dd5 into cockroachdb:master Jan 7, 2026
25 checks passed
@rafiss rafiss deleted the mt-TestCreateObjectConcurrency branch January 9, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sql: TestCreateObjectConcurrency does not work with secondary tenants

3 participants