Skip to content

Commit

Permalink
service/backup: integration test, fix TestPurgeTemporaryManifestsInte…
Browse files Browse the repository at this point in the history
…gration
  • Loading branch information
karol-kokoszka authored and mmatczuk committed Jul 13, 2022
1 parent 4c5ed0c commit 4203a4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/service/backup/service_backup_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,9 @@ func TestPurgeTemporaryManifestsIntegration(t *testing.T) {
})

Print("And: run backup again")
// wait at least 1 sec to avoid having same snapshot ID as in previous backup run
time.Sleep(time.Second)

if err := h.service.Backup(ctx, h.clusterID, h.taskID, h.runID, target); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 4203a4d

Please sign in to comment.