Skip to content

Commit 0c6924f

Browse files
committed
apply feedback
1 parent 3fcba95 commit 0c6924f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

internal/service/advancedcluster/resource_advanced_cluster_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ func TestAccClusterAdvancedClusterConfig_replicationSpecsAnalyticsAutoScaling(t
555555
func TestAccClusterAdvancedClusterConfig_replicationSpecsAndShardUpdating(t *testing.T) {
556556
var (
557557
orgID = os.Getenv("MONGODB_ATLAS_ORG_ID")
558-
projectName = acc.RandomProjectName()
559-
clusterName = acc.RandomClusterName() // No ProjectIDExecution to avoid cross-region limits because multi-region
558+
projectName = acc.RandomProjectName() // No ProjectIDExecution to avoid cross-region limits because multi-region
559+
clusterName = acc.RandomClusterName()
560560
)
561561

562562
resource.ParallelTest(t, resource.TestCase{
@@ -670,8 +670,8 @@ func TestAccClusterAdvancedCluster_withTags(t *testing.T) {
670670
func TestAccClusterAdvancedClusterConfig_selfManagedSharding(t *testing.T) {
671671
var (
672672
orgID = os.Getenv("MONGODB_ATLAS_ORG_ID")
673-
projectName = acc.RandomProjectName()
674-
clusterName = acc.RandomClusterName() // No ProjectIDExecution to avoid cross-region limits because multi-region
673+
projectName = acc.RandomProjectName() // No ProjectIDExecution to avoid cross-region limits because multi-region
674+
clusterName = acc.RandomClusterName()
675675
)
676676

677677
resource.ParallelTest(t, resource.TestCase{
@@ -853,7 +853,7 @@ func configIncorrectTypeGobalClusterSelfManagedSharding(projectID, name string)
853853
name = %[2]q
854854
855855
cluster_type = "REPLICASET"
856-
global_cluster_self_managed_sharding = true
856+
global_cluster_self_managed_sharding = true # invalid, can only by used with GEOSHARDED clusters
857857
858858
replication_specs {
859859
region_configs {

internal/service/cluster/resource_cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1127,8 +1127,8 @@ func TestAccCluster_basicGCPRegionNameWesternUS(t *testing.T) {
11271127
func TestAccCluster_basicGCPRegionNameUSWest2(t *testing.T) {
11281128
var (
11291129
orgID = os.Getenv("MONGODB_ATLAS_ORG_ID")
1130-
projectName = acc.RandomProjectName()
1131-
clusterName = acc.RandomClusterName() // No ProjectIDExecution to avoid cross-region limits because no AWS
1130+
projectName = acc.RandomProjectName() // No ProjectIDExecution to avoid cross-region limits because no AWS
1131+
clusterName = acc.RandomClusterName()
11321132
regionName = "US_WEST_2"
11331133
)
11341134

0 commit comments

Comments
 (0)