Skip to content

Commit 8b0780c

Browse files
committed
remove expectError step
1 parent 261a3a4 commit 8b0780c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

internal/service/advancedcluster/resource_advanced_cluster_migration_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package advancedcluster_test
33
import (
44
"fmt"
55
"os"
6-
"regexp"
76
"testing"
87

98
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -113,11 +112,6 @@ func TestMigAdvancedCluster_shardedMigrationFromOldToNewSchema(t *testing.T) {
113112
Config: configShardedTransitionOldToNewSchema(orgID, projectName, clusterName, false),
114113
Check: checkShardedTransitionOldToNewSchema(false),
115114
},
116-
{
117-
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
118-
Config: configShardedTransitionOldToNewSchema(orgID, projectName, clusterName, true),
119-
ExpectError: regexp.MustCompile("SERVICE_UNAVAILABLE"),
120-
},
121115
{
122116
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
123117
Config: configShardedTransitionOldToNewSchema(orgID, projectName, clusterName, true),
@@ -144,11 +138,6 @@ func TestMigAdvancedCluster_geoShardedMigrationFromOldToNewSchema(t *testing.T)
144138
Config: configGeoShardedTransitionOldToNewSchema(orgID, projectName, clusterName, false),
145139
Check: checkGeoShardedTransitionOldToNewSchema(false),
146140
},
147-
{
148-
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
149-
Config: configShardedTransitionOldToNewSchema(orgID, projectName, clusterName, true),
150-
ExpectError: regexp.MustCompile("SERVICE_UNAVAILABLE"),
151-
},
152141
{
153142
ProtoV6ProviderFactories: acc.TestAccProviderV6Factories,
154143
Config: configGeoShardedTransitionOldToNewSchema(orgID, projectName, clusterName, true),

0 commit comments

Comments
 (0)