Skip to content

Commit 9715bba

Browse files
chore: add missing tests to snapshots (#3781)
Co-authored-by: apix-bot[bot] <168195273+apix-bot[bot]@users.noreply.github.com>
1 parent 731aa22 commit 9715bba

File tree

1,103 files changed

+10178
-6976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,103 files changed

+10178
-6976
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ jobs:
2121
- atlas,backup,schedule
2222
- atlas,backup,snapshot
2323
- atlas,clusters,file
24-
# - atlas,clusters,flags # does not work well with snapshots
24+
- atlas,clusters,flags
2525
- atlas,clusters,flex
2626
- atlas,clusters,m0
2727
- atlas,clusters,sharded
2828
- atlas,clusters,upgrade
2929
- atlas,datafederation,db
3030
- atlas,datafederation,privatenetwork
3131
- atlas,datafederation,querylimits
32-
- atlas,decrypt
32+
# - atlas,decrypt # requires live calls to GCP/AWS/Azure
3333
# - atlas,deployments,atlasclusters # one assertion connects to DB (needs live mode)
3434
# - atlas,deployments,local,auth,deprecated # needs docker to run
3535
# - atlas,deployments,local,auth,new # needs docker to run
3636
# - atlas,deployments,local,nocli # needs docker to run
3737
# - atlas,deployments,local,noauth # needs docker to run
3838
# - atlas,generic # tests are failing in master
39-
# - atlas,interactive # does not work well with snapshots
39+
- atlas,interactive
4040
- atlas,ldap
4141
- atlas,livemigrations
4242
- atlas,logs
@@ -50,13 +50,13 @@ jobs:
5050
- atlas,plugin,update
5151
- atlas,processes
5252
- atlas,search
53-
# - atlas,search_nodes # tests are failing in master
53+
- atlas,search_nodes
5454
- atlas,serverless,instance
5555
- atlas,streams
5656
- atlas,streams_with_cluster
5757
- brew
5858
- config
59-
- iam
59+
- atlas,iam
6060
- kubernetes
6161
steps:
6262
- uses: GitHubSecurityLab/actions-permissions/monitor@v1

.github/workflows/update-e2e-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- atlas,backup,schedule
2424
- atlas,backup,snapshot
2525
- atlas,clusters,file
26-
# - atlas,clusters,flags # does not work well with snapshots
26+
- atlas,clusters,flags
2727
- atlas,clusters,flex
2828
- atlas,clusters,m0
2929
- atlas,clusters,sharded
@@ -38,7 +38,7 @@ jobs:
3838
# - atlas,deployments,local,nocli # needs docker to run
3939
# - atlas,deployments,local,noauth # needs docker to run
4040
# - atlas,generic # tests are failing in master
41-
# - atlas,interactive # does not work well with snapshots
41+
- atlas,interactive
4242
- atlas,ldap
4343
- atlas,livemigrations
4444
- atlas,logs
@@ -52,14 +52,13 @@ jobs:
5252
- atlas,plugin,update
5353
- atlas,processes
5454
- atlas,search
55-
# - atlas,search_nodes # tests are failing in master
55+
- atlas,search_nodes
5656
- atlas,serverless,instance
5757
- atlas,streams
5858
- atlas,streams_with_cluster
5959
- brew
6060
- config
61-
- iam
62-
# - atlas,iam # need to add
61+
- atlas,iam
6362
- kubernetes
6463
steps:
6564
- uses: GitHubSecurityLab/actions-permissions/monitor@v1

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_clusters_accessLogs-472_1.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_clusters_accessLogs-472_2.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_clusters_provider_regions_1.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_dbAccessHistory_clusters_accessLogs-472_1.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_dbAccessHistory_processes_atlas-kbnw0p-shard-00-00.raofe.mongodb-dev.net_1.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/e2e/.snapshots/TestAccessLogs/GET__api_atlas_v2_groups_67ea5a7d3720c313137777c9_processes_1.json

Lines changed: 0 additions & 16 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
HTTP/2.0 200 OK
2+
Content-Length: 1841
3+
Content-Type: application/vnd.atlas.2023-02-01+json;charset=utf-8
4+
Date: Mon, 31 Mar 2025 12:44:40 GMT
5+
Deprecation: Mon, 5 Aug 2024 00:00:00 GMT
6+
Referrer-Policy: strict-origin-when-cross-origin
7+
Server: mdbws
8+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
9+
Sunset: Sun, 1 Mar 2026 00:00:00 GMT
10+
X-Content-Type-Options: nosniff
11+
X-Envoy-Upstream-Service-Time: 71
12+
X-Frame-Options: DENY
13+
X-Java-Method: ApiAtlasClusterDescriptionV15Resource::getCluster
14+
X-Java-Version: 17.0.14+7
15+
X-Mongodb-Service-Version: gitHash=2d549c805065c765810442bca5a24f63ca5de3db; versionString=master
16+
X-Permitted-Cross-Domain-Policies: none
17+
18+
{"advancedConfiguration":{"customOpensslCipherConfigTls12":[],"minimumEnabledTlsProtocol":"TLS1_2","tlsCipherConfigMode":"DEFAULT"},"backupEnabled":false,"biConnector":{"enabled":false,"readPreference":"secondary"},"clusterType":"REPLICASET","connectionStrings":{},"createDate":"2025-03-31T12:44:40Z","diskSizeGB":30.0,"diskWarmingMode":"FULLY_WARMED","encryptionAtRestProvider":"NONE","globalClusterSelfManagedSharding":false,"groupId":"67ea8e35b31ead384fc6a108","id":"67ea8e38b31ead384fc6a30d","labels":[],"links":[{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505","rel":"self"},{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505/backup/restoreJobs","rel":"https://cloud.mongodb.com/restoreJobs"},{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505/backup/snapshots","rel":"https://cloud.mongodb.com/snapshots"}],"mongoDBMajorVersion":"8.0","mongoDBVersion":"8.0.6","name":"accessLogs-505","paused":false,"pitEnabled":false,"replicationSpecs":[{"id":"67ea8e37b31ead384fc6a2dd","numShards":1,"regionConfigs":[{"analyticsSpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":0},"autoScaling":{"compute":{"enabled":false,"predictiveEnabled":false,"scaleDownEnabled":false},"diskGB":{"enabled":false}},"electableSpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":3},"priority":7,"providerName":"AWS","readOnlySpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":0},"regionName":"US_EAST_1"}],"zoneId":"67ea8e37b31ead384fc6a2f0","zoneName":"Zone 1"}],"rootCertType":"ISRGROOTX1","stateName":"CREATING","tags":[],"terminationProtectionEnabled":false,"versionReleaseSystem":"LTS"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
HTTP/2.0 200 OK
2+
Content-Length: 2150
3+
Content-Type: application/vnd.atlas.2023-02-01+json;charset=utf-8
4+
Date: Mon, 31 Mar 2025 12:54:14 GMT
5+
Deprecation: Mon, 5 Aug 2024 00:00:00 GMT
6+
Referrer-Policy: strict-origin-when-cross-origin
7+
Server: mdbws
8+
Strict-Transport-Security: max-age=31536000; includeSubdomains;
9+
Sunset: Sun, 1 Mar 2026 00:00:00 GMT
10+
X-Content-Type-Options: nosniff
11+
X-Envoy-Upstream-Service-Time: 73
12+
X-Frame-Options: DENY
13+
X-Java-Method: ApiAtlasClusterDescriptionV15Resource::getCluster
14+
X-Java-Version: 17.0.14+7
15+
X-Mongodb-Service-Version: gitHash=2d549c805065c765810442bca5a24f63ca5de3db; versionString=master
16+
X-Permitted-Cross-Domain-Policies: none
17+
18+
{"advancedConfiguration":{"customOpensslCipherConfigTls12":[],"minimumEnabledTlsProtocol":"TLS1_2","tlsCipherConfigMode":"DEFAULT"},"backupEnabled":false,"biConnector":{"enabled":false,"readPreference":"secondary"},"clusterType":"REPLICASET","connectionStrings":{"standard":"mongodb://accesslogs-505-shard-00-00.uhefy.mongodb-dev.net:27017,accesslogs-505-shard-00-01.uhefy.mongodb-dev.net:27017,accesslogs-505-shard-00-02.uhefy.mongodb-dev.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-iaoq2f-shard-0","standardSrv":"mongodb+srv://accesslogs-505.uhefy.mongodb-dev.net"},"createDate":"2025-03-31T12:44:40Z","diskSizeGB":30.0,"diskWarmingMode":"FULLY_WARMED","encryptionAtRestProvider":"NONE","globalClusterSelfManagedSharding":false,"groupId":"67ea8e35b31ead384fc6a108","id":"67ea8e38b31ead384fc6a30d","labels":[],"links":[{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505","rel":"self"},{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505/backup/restoreJobs","rel":"https://cloud.mongodb.com/restoreJobs"},{"href":"https://cloud-dev.mongodb.com/api/atlas/v2/groups/67ea8e35b31ead384fc6a108/clusters/accessLogs-505/backup/snapshots","rel":"https://cloud.mongodb.com/snapshots"}],"mongoDBMajorVersion":"8.0","mongoDBVersion":"8.0.6","name":"accessLogs-505","paused":false,"pitEnabled":false,"replicationSpecs":[{"id":"67ea8e37b31ead384fc6a2dd","numShards":1,"regionConfigs":[{"analyticsSpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":0},"autoScaling":{"compute":{"enabled":false,"predictiveEnabled":false,"scaleDownEnabled":false},"diskGB":{"enabled":false}},"electableSpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":3},"priority":7,"providerName":"AWS","readOnlySpecs":{"instanceSize":"M10","diskIOPS":3000,"ebsVolumeType":"STANDARD","nodeCount":0},"regionName":"US_EAST_1"}],"zoneId":"67ea8e37b31ead384fc6a2f0","zoneName":"Zone 1"}],"rootCertType":"ISRGROOTX1","stateName":"IDLE","tags":[],"terminationProtectionEnabled":false,"versionReleaseSystem":"LTS"}

0 commit comments

Comments
 (0)