Skip to content

Commit

Permalink
fix(tests): increases backup timeout to include cloudmeta pkg.
Browse files Browse the repository at this point in the history
This increases backup timeout in tests by 5 seconds to include cloudmeta
pkg timeout when running on-premise.
  • Loading branch information
VAveryanov8 committed Dec 18, 2024
1 parent 58ed47c commit 4fbd7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/service/backup/service_backup_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,8 @@ func TestBackupResumeIntegration(t *testing.T) {
<-ctx.Done()

select {
case <-time.After(backupTimeout):
// Added additional 5 seconds to include cloudmeta timeouts.
case <-time.After(backupTimeout + 5*time.Second):
t.Fatalf("Backup failed to complete in under %s", backupTimeout)
case <-done:
Print("Then: backup completed execution")
Expand Down

0 comments on commit 4fbd7bd

Please sign in to comment.