Skip to content

Commit 7547e48

Browse files
committed
skip test
1 parent bf15a87 commit 7547e48

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/guides/2.0.0-upgrade-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The Terraform MongoDB Atlas Provider version 2.0.0 has the following new feature
1616
- `mongodbatlas_advanced_cluster`
1717
- `mongodbatlas_cloud_backup_snapshot`
1818
- `mongodbatlas_cluster_outage_simulation`
19+
- `mongodbatlas_encryption_at_rest_private_endpoint`
1920
- `mongodbatlas_flex_cluster`
2021
- `mongodbatlas_network_peering`
2122
- `mongodbatlas_online_archive`

internal/service/encryptionatrestprivateendpoint/resource_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ func TestAccEncryptionAtRestPrivateEndpoint_Azure_basic(t *testing.T) {
3434
}
3535

3636
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)
3745
var (
3846
createTimeout = "1s"
3947
deleteOnCreateTimeout = true

0 commit comments

Comments
 (0)