Skip to content

Commit 0c5eec7

Browse files
mongodb-drivers-pr-bot[bot]Cloud UserNoahStappJibola
authored
[Spec Resync] 11-10-2025 (#2609)
Co-authored-by: Cloud User <ec2-user@ip-10-128-24-49.ec2.internal> Co-authored-by: Noah Stapp <noah.stapp@mongodb.com> Co-authored-by: Jib <jib.adegunloye@mongodb.com>
1 parent 47da699 commit 0c5eec7

File tree

6 files changed

+848
-4
lines changed

6 files changed

+848
-4
lines changed

.evergreen/remove-unimplemented-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ rm $PYMONGO/test/index_management/index-rawdata.json
4141
rm $PYMONGO/test/collection_management/modifyCollection-*.json
4242

4343
# PYTHON-5248 - Remove support for MongoDB 4.0
44-
find /$PYMONGO /test -type f -name 'pre-42-*.json' -delete
44+
find /$PYMONGO/test -type f -name 'pre-42-*.json' -delete
4545

4646
# PYTHON-3359 - Remove Database and Collection level timeout override
4747
rm $PYMONGO/test/csot/override-collection-timeoutMS.json
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/test/auth/legacy/connection-string.json b/test/auth/legacy/connection-string.json
2+
index 3a099c813..8982b61d5 100644
3+
--- a/test/auth/legacy/connection-string.json
4+
+++ b/test/auth/legacy/connection-string.json
5+
@@ -440,6 +440,21 @@
6+
}
7+
}
8+
},
9+
+ {
10+
+ "description": "should throw an exception if username provided (MONGODB-AWS)",
11+
+ "uri": "mongodb://user@localhost.com/?authMechanism=MONGODB-AWS",
12+
+ "valid": false
13+
+ },
14+
+ {
15+
+ "description": "should throw an exception if username and password provided (MONGODB-AWS)",
16+
+ "uri": "mongodb://user:pass@localhost.com/?authMechanism=MONGODB-AWS",
17+
+ "valid": false
18+
+ },
19+
+ {
20+
+ "description": "should throw an exception if AWS_SESSION_TOKEN provided (MONGODB-AWS)",
21+
+ "uri": "mongodb://localhost/?authMechanism=MONGODB-AWS&authMechanismProperties=AWS_SESSION_TOKEN:token",
22+
+ "valid": false
23+
+ },
24+
{
25+
"description": "should recognise the mechanism with test environment (MONGODB-OIDC)",
26+
"uri": "mongodb://localhost/?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:test",

0 commit comments

Comments
 (0)