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

spanconfigccl: stablize the test expectations in TestDataDriven #110492

Closed
wants to merge 1 commit into from

Conversation

knz
Copy link
Contributor

@knz knz commented Sep 12, 2023

Fixes #110242
Epic: CRDB-28893

See explanation in #110487: table ID 109 and others result in weird output test expectations. Also, a multi-node cluster doens't allocate the same number of objects (or doesn't use the desc ID sequence in the same way) resulting in non-stable table IDs.

Release note: None

@knz knz requested a review from ecwall September 12, 2023 19:32
@knz knz requested a review from a team as a code owner September 12, 2023 19:32
@cockroach-teamcity
Copy link
Member

This change is Reviewable

See explanation in cockroachdb#110487: table ID 109 and others result in weird
output test expectations. Also, a multi-node cluster doens't allocate
the same number of objects (or doesn't use the desc ID sequence in the
same way) resulting in non-stable table IDs.

Release note: None

Co-authored-by: Evan Wall <[email protected]>
/Tenant/10/Table/11{0-1} range default
/Tenant/10/Table/11{1-2} range default
/Tenant/10/Table/11{2-3} range default
[/Tenant/10, /Tenant/10/Table/4) database system (tenant)
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like the output is incorrect for this since there are multiple tables being checked.

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

@knz @ecwall do we know how to make progress on this?

@rafiss
Copy link
Collaborator

rafiss commented Sep 18, 2023

closing in favor of #110829

@rafiss rafiss closed this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pkg/ccl/spanconfigccl/spanconfigsqltranslatorccl/spanconfigsqltranslatorccl_test: TestDataDriven failed
4 participants