Skip to content

opt: deflake distsql_automatic_stats#59273

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
RaduBerinde:fix-auto-stats-logictest
Jan 22, 2021
Merged

opt: deflake distsql_automatic_stats#59273
craig[bot] merged 1 commit intocockroachdb:masterfrom
RaduBerinde:fix-auto-stats-logictest

Conversation

@RaduBerinde
Copy link
Copy Markdown
Member

This test recently started running with some metamorphic constants
enabled and it flakes. The failure mode suggests that multiple stat
jobs run in-between two retry iterations. This change fixes the test
to use queries that only show the latest statistics; this tolerates
extra stat collection jobs.

Fixes #59263.
Fixes #56700.

Release note: None

This test recently started running with some metamorphic constants
enabled and it flakes. The failure mode suggests that multiple stat
jobs run in-between two retry iterations. This change fixes the test
to use queries that only show the latest statistics; this tolerates
extra stat collection jobs.

Fixes cockroachdb#59263.
Fixes cockroachdb#56700.

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

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

LGTM, i'm gonna merge this because i'm having a flaky day

bors r+ p=9999 single=on

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 22, 2021

Build succeeded:

@craig craig bot merged commit 5ce60af into cockroachdb:master Jan 22, 2021
@RaduBerinde RaduBerinde deleted the fix-auto-stats-logictest branch January 25, 2021 20:32
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.

sql/logictest: TestLogic failed ccl/logictestccl: TestTenantLogic failed

3 participants