Skip to content

Commit bdfe4cc

Browse files
committed
refactor: update test configuration to prevent OPERATION_INVALID_MEMBER_REPLICATION_LAG
1 parent 50d1736 commit bdfe4cc

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
@@ -321,11 +321,11 @@ func TestAccClusterAdvancedCluster_unpausedToPaused(t *testing.T) {
321321
Check: checkSingleProviderPaused(true, clusterName, false),
322322
},
323323
{
324-
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, anotherInstanceSize), // allows pausing and other change in same apply
324+
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, instanceSize), // only pause to avoid `OPERATION_INVALID_MEMBER_REPLICATION_LAG`, more info in HELP-72502
325325
Check: checkSingleProviderPaused(true, clusterName, true),
326326
},
327327
{
328-
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, instanceSize),
328+
Config: configSingleProviderPaused(t, true, projectID, clusterName, true, anotherInstanceSize),
329329
ExpectError: regexp.MustCompile("CANNOT_UPDATE_PAUSED_CLUSTER"),
330330
},
331331
acc.TestStepImportCluster(resourceName),

0 commit comments

Comments
 (0)