Skip to content

Commit

Permalink
chore: add gap between triggering restore job and canceling restore
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Sep 25, 2023
1 parent 19d4648 commit 4928eed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/oceanbase/test/restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ var _ = Describe("Test canceling restore", Serial, Label("canceling"), func() {
archiveDest := "file:///ob-backup/" + tenant + "/log_archive_custom1"
err = con.StartRestoreUnlimited(standbyName, strings.Join([]string{backupDest, archiveDest}, ","), "pool_list=pool_test_standby1,pool_test_standby2,pool_test_standby3")
Expect(err).To(BeNil())
time.Sleep(5 * time.Second)

By("Cancel restoration of tenant")
err = con.CancelRestoreOfTenant(standbyName)
Expand Down

0 comments on commit 4928eed

Please sign in to comment.