Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backupccl: deflake TestScheduleChainingLifecycle
This patch will skip the test if the machine clock is close to midnight, and increases the frequency of incremental backups to run every 2 minutes. Previously, the backup schedule in this test used the following crontab recurrence: '*/5 * * * *'. In english, this means "run a full backup now, and then run a full backup every day at midnight, and an incremental every 5 minutes. This test also relies on an incremental backup running after the first full backup. But, what happens if the first full backup gets scheduled to run within 5 minutes of midnight? A second full backup may get scheduled before the expected incremental backup, breaking the invariant the test expects. Fixes cockroachdb#88575 cockroachdb#95186 Release note: None
- Loading branch information