Skip to content

Commit 35646c0

Browse files
authored
refactor: update test configuration to prevent OPERATION_INVALID_MEMBER_REPLICATION_LAG (#3225)
1 parent 2dfa8e9 commit 35646c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/advancedcluster/resource_advanced_cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,11 @@ func TestAccClusterAdvancedCluster_unpausedToPaused(t *testing.T) {
318318
Check: checkSingleProviderPaused(true, clusterName, false),
319319
},
320320
{
321-
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, anotherInstanceSize), // allows pausing and other change in same apply
321+
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, instanceSize), // only pause to avoid `OPERATION_INVALID_MEMBER_REPLICATION_LAG`, more info in HELP-72502
322322
Check: checkSingleProviderPaused(true, clusterName, true),
323323
},
324324
{
325-
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, instanceSize),
325+
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, anotherInstanceSize),
326326
ExpectError: regexp.MustCompile("CANNOT_UPDATE_PAUSED_CLUSTER"),
327327
},
328328
acc.TestStepImportCluster(resourceName),

0 commit comments

Comments
 (0)