diff --git a/test/e2e/internal/tests/backup/backup_restore.go b/test/e2e/internal/tests/backup/backup_restore.go index e069d27..c0f9b91 100644 --- a/test/e2e/internal/tests/backup/backup_restore.go +++ b/test/e2e/internal/tests/backup/backup_restore.go @@ -56,6 +56,12 @@ var _ = Describe("Backup and restore", func() { ctx SpecContext, factory testCaseFactory, ) { + switch factory.(type) { + case *gcsBackupPluginBackupPluginRestore, *gcsBackupPluginBackupInTreeRestore, + *gcsBackupPluginInTreeBackupPluginRestore: + Skip("GCS e2e tests are disabled until https://github.com/EnterpriseDB/barman/issues/1218 is fixed") + } + testResources := factory.createBackupRestoreTestResources(namespace.Name) By("starting the ObjectStore deployment") @@ -198,5 +204,15 @@ var _ = Describe("Backup and restore", func() { "using in-tree for backup and the plugin for restore on Azure", &azureBackupPluginInTreeBackupPluginRestore{}, ), + Entry("using the plugin for backup and restore on GCS", + &gcsBackupPluginBackupPluginRestore{}, + ), + Entry("using the plugin for backup and in-tree for restore on GCS", + &gcsBackupPluginBackupInTreeRestore{}, + ), + Entry( + "using in-tree for backup and the plugin for restore on GCS", + &gcsBackupPluginInTreeBackupPluginRestore{}, + ), ) }) diff --git a/test/e2e/internal/tests/replicacluster/replica_cluster.go b/test/e2e/internal/tests/replicacluster/replica_cluster.go index 802e32b..e4cf598 100644 --- a/test/e2e/internal/tests/replicacluster/replica_cluster.go +++ b/test/e2e/internal/tests/replicacluster/replica_cluster.go @@ -57,6 +57,11 @@ var _ = Describe("Replica cluster", func() { ctx SpecContext, factory testCaseFactory, ) { + switch factory.(type) { + case gcsReplicaClusterFactory: + Skip("GCS e2e tests are disabled until https://github.com/EnterpriseDB/barman/issues/1218 is fixed") + } + testResources := factory.createReplicaClusterTestResources(namespace.Name) By("starting the ObjectStore deployments") @@ -268,5 +273,9 @@ var _ = Describe("Replica cluster", func() { "with Azurite", azuriteReplicaClusterFactory{}, ), + Entry( + "with fake-gcs-server", + gcsReplicaClusterFactory{}, + ), ) })