From 4fbd7bd1c3ef7be0201b2875924fb0d06129c732 Mon Sep 17 00:00:00 2001 From: Vasil Averyanau Date: Wed, 18 Dec 2024 09:18:03 +0100 Subject: [PATCH] fix(tests): increases backup timeout to include cloudmeta pkg. This increases backup timeout in tests by 5 seconds to include cloudmeta pkg timeout when running on-premise. --- pkg/service/backup/service_backup_integration_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/service/backup/service_backup_integration_test.go b/pkg/service/backup/service_backup_integration_test.go index e9146dca0..16e33c700 100644 --- a/pkg/service/backup/service_backup_integration_test.go +++ b/pkg/service/backup/service_backup_integration_test.go @@ -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")