Skip to content

explain: deflake TestMaximumMemoryUsage for good#146155

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:fix-test
May 6, 2025
Merged

explain: deflake TestMaximumMemoryUsage for good#146155
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:fix-test

Conversation

@yuzefovich
Copy link
Copy Markdown
Member

This commit reverts adeddb5 which attempted to deflake TestMaximumMemoryUsage which could fail under metamorphic randomization. Instead, this commit simply forces production values for the relevant batch sizes (I think kv-batch-size is the one to blame) because the previous attempt of introducing the retry loop could still flake.

Fixes: #146052.

Release note: None

This commit reverts adeddb5 which
attempted to deflake `TestMaximumMemoryUsage` which could fail under
metamorphic randomization. Instead, this commit simply forces production
values for the relevant batch sizes (I think `kv-batch-size` is the one
to blame) because the previous attempt of introducing the retry loop
could still flake.

Release note: None
@yuzefovich yuzefovich added backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.3.x Flags PRs that need to be backported to 24.3 backport-25.1.x backport-25.2.x Flags PRs that need to be backported to 25.2 labels May 6, 2025
@yuzefovich yuzefovich requested a review from DrewKimball May 6, 2025 01:33
@yuzefovich yuzefovich requested a review from a team as a code owner May 6, 2025 01:34
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

@yuzefovich
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 6, 2025

@craig craig bot merged commit c4638a9 into cockroachdb:master May 6, 2025
22 checks passed
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented May 6, 2025

Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.


Issue #146052: branch-release-24.3, branch-release-25.1, branch-release-25.2.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.3.x Flags PRs that need to be backported to 24.3 backport-25.2.x Flags PRs that need to be backported to 25.2 v25.3.0-prerelease

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sql/opt/exec/explain: TestMaximumMemoryUsage failed

3 participants