chore: e2e backup timeout (#97)

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This commit is contained in:
Leonardo Cecchi 2024-12-11 17:39:36 +01:00 committed by GitHub
parent 4656d44c85
commit 0e6a86a662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,7 +238,7 @@ var _ = Describe("Replica cluster", func() {
g.Expect(cl.Get(ctx, types.NamespacedName{Name: replicaBackup.Name, Namespace: replicaBackup.Namespace},
replicaBackup)).To(Succeed())
g.Expect(replicaBackup.Status.Phase).To(BeEquivalentTo(cloudnativepgv1.BackupPhaseCompleted))
}).Within(2 * time.Minute).WithPolling(5 * time.Second).Should(Succeed())
}).Within(3 * time.Minute).WithPolling(5 * time.Second).Should(Succeed())
By("Checking the data in the former primary cluster")
Eventually(func(g Gomega) {