Skip to content

Commit 14ac55f

Browse files
authored
test: Increase create timeout to reduce test flakyness (#2991)
1 parent 18fb99b commit 14ac55f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/advancedcluster/resource_advanced_cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ func TestAccMockableAdvancedCluster_replicasetAdvConfigUpdate(t *testing.T) {
11381138
checksSet = []string{
11391139
"replication_specs.0.container_id.AWS:US_EAST_1",
11401140
}
1141-
timeoutCheck = resource.TestCheckResourceAttr(resourceName, "timeouts.create", "2000s") // timeouts.create is not set on data sources
1141+
timeoutCheck = resource.TestCheckResourceAttr(resourceName, "timeouts.create", "6000s") // timeouts.create is not set on data sources
11421142
checks = checkAggr(true, checksSet, checksMap, timeoutCheck)
11431143
afterUpdateMap = map[string]string{
11441144
"state_name": "IDLE",
@@ -1262,7 +1262,7 @@ func configBasicReplicaset(t *testing.T, projectID, clusterName, extra string) s
12621262
return acc.ConvertAdvancedClusterToSchemaV2(t, true, fmt.Sprintf(`
12631263
resource "mongodbatlas_advanced_cluster" "test" {
12641264
timeouts {
1265-
create = "2000s"
1265+
create = "6000s"
12661266
}
12671267
project_id = %[1]q
12681268
name = %[2]q

0 commit comments

Comments
 (0)