Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
124597: importer: harden TestImportWorkerFailure r=yuzefovich a=yuzefovich This commit hardens `TestImportWorkerFailure` in the following ways: - previously, we picked the latest job when blocking until it succeeds, but it could be not the import job we're interested in. Now we add a filter to the query for the job type and status. - we now add some retries around SELECT * queries at the end of the test that ensure the state of the table. It seems like there might be a race between the import finishing and brining the table online, so the retries seem reasonable. Fixes: cockroachdb#120607. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information