Skip to content

spanconfigreconcilerccl: use txn descriptor ID generation for test#122539

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rimadeodhar:fix-span-test
Apr 19, 2024
Merged

spanconfigreconcilerccl: use txn descriptor ID generation for test#122539
craig[bot] merged 1 commit intocockroachdb:masterfrom
rimadeodhar:fix-span-test

Conversation

@rimadeodhar
Copy link
Copy Markdown
Collaborator

@rimadeodhar rimadeodhar commented Apr 17, 2024

This PR updates the spanconfigreconciler data driven test to use transactional descriptor ID generation
(#69226) to generate deterministic descriptor IDs. This will help avoid test flakes around changing descriptor IDs due to transaction retries etc.

Epic: none
Fixes: #122343
Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@rimadeodhar rimadeodhar requested a review from rafiss April 17, 2024 18:36
@rimadeodhar rimadeodhar marked this pull request as ready for review April 17, 2024 18:36
@rimadeodhar rimadeodhar requested a review from a team as a code owner April 17, 2024 18:36
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:, CI isn't happy because of generated files

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rafiss)

@rimadeodhar rimadeodhar force-pushed the fix-span-test branch 2 times, most recently from 83af06b to 68d3fdc Compare April 17, 2024 21:53
…or test

This PR updates the spanconfigreconciler data driven test
to use transactional descriptor ID generation
(cockroachdb#85444) to generate
deterministic descriptor IDs. This will help avoid test flakes around
changing descriptor IDs due to transaction retries etc.

Epic: none
Fixes: cockroachdb#122343
Release note: None
@rimadeodhar
Copy link
Copy Markdown
Collaborator Author

TFTR!

bors r+

@craig craig bot merged commit 50393fa into cockroachdb:master Apr 19, 2024
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.

pkg/ccl/spanconfigccl/spanconfigreconcilerccl/spanconfigreconcilerccl_test: TestDataDriven failed

3 participants