forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
124570: stats: fix TestCreateStatsProgress r=yuzefovich a=yuzefovich This commit fixes a rare flake in `TestCreateStatsProgress` which I think was caused due to the test using "get last job ID" query without specifying the job type. In other words, my hypothesis is that the test could incorrectly pick a job other than CREATE STATS (that happened to be started right after the stats one), and we would never get any progress reported on that other job. This is now fixed by only looking at CREATE STATS jobs. Additionally, the helper function that was only used in this test is now unexported. Fixes: cockroachdb#121770. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters