forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest/cdc/mixed-versions: allow for changefeed failures
This test may flake due to the upgrade from 22.1->22.2. The test asserts a changefeed remains running by checking for resolved timestamps being emitted on a regular basis. The problem with this is that, during the rolling upgrade, the changefeed may fail with a "draining" error. This issue is fixed in 22.2 onwards by treating all errors as retryable. Rather than skipping this test because 22.1 is EOLed, it is preferable to still run this test regularly because it tests 22.2 functionality. This change adds a fix where the test will poll the changefeed every 1s and recreate it if it fails. Closes: cockroachdb#106878 Release note: None Epic: None
- Loading branch information
1 parent
57c027d
commit 0ab05d1
Showing
1 changed file
with
56 additions
and
3 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