Skip to content

Commit

Permalink
test replication stream in ExecTestIncrementalBackupAndRestoreToTimes…
Browse files Browse the repository at this point in the history
…tamp

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
  • Loading branch information
shlomi-noach committed Sep 19, 2024
1 parent 4e79a02 commit 7e77e86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go/test/endtoend/backup/vtctlbackup/pitr_test_framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,12 @@ func ExecTestIncrementalBackupAndRestoreToTimestamp(t *testing.T, tcase *PITRTes
if sampleTestedBackupIndex < 0 {
sampleTestedBackupIndex = backupIndex
}
t.Run("post-pitr, wait for replica to catch up", func(t *testing.T) {
// Replica is DRAINED and does not have replication configuration.
// We now connect the replica to the primary and validate it's able to catch up.
ReconnectReplicaToPrimary(t, 0)
waitForReplica(t, 0)
})
} else {
numFailedRestores++
}
Expand Down

0 comments on commit 7e77e86

Please sign in to comment.