File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
internal/service/encryptionatrestprivateendpoint Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ The Terraform MongoDB Atlas Provider version 2.0.0 has the following new feature
16
16
- ` mongodbatlas_advanced_cluster `
17
17
- ` mongodbatlas_cloud_backup_snapshot `
18
18
- ` mongodbatlas_cluster_outage_simulation `
19
+ - ` mongodbatlas_encryption_at_rest_private_endpoint `
19
20
- ` mongodbatlas_flex_cluster `
20
21
- ` mongodbatlas_network_peering `
21
22
- ` mongodbatlas_online_archive `
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ func TestAccEncryptionAtRestPrivateEndpoint_Azure_basic(t *testing.T) {
34
34
}
35
35
36
36
func TestAccEncryptionAtRestPrivateEndpoint_createTimeoutWithDeleteOnCreate (t * testing.T ) {
37
+ // This test is skipped because it creates a race condition with other tests:
38
+ // 1. This test creates an encryption at rest private endpoint with a 1s timeout, causing it to fail and trigger cleanup
39
+ // 2. The private endpoint deletion doesn't complete immediately
40
+ // 3. Other tests share the same project and attempt to disable encryption at rest during cleanup
41
+ // 4. MongoDB Atlas returns "CANNOT_DISABLE_ENCRYPTION_AT_REST_REQUIRE_PRIVATE_NETWORKING_WHILE_PRIVATE_ENDPOINTS_EXIST"
42
+ // because the private endpoint from this test is still being deleted
43
+ // This race condition occurs even when tests don't run in parallel due to the async nature of private endpoint deletion.
44
+ acc .SkipTestForCI (t )
37
45
var (
38
46
createTimeout = "1s"
39
47
deleteOnCreateTimeout = true
You can’t perform that action at this time.
0 commit comments