Skip to content

Commit 69e45b0

Browse files
author
Cloud User
committed
resyncing specs 07-21-2025
1 parent cf26301 commit 69e45b0

34 files changed

+9009
-981
lines changed

.evergreen/scripts/resync-all-specs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ then
3333
# we're running locally
3434
python3 ./.evergreen/scripts/resync-all-specs.py
3535
else
36-
/opt/devtools/bin/python3.11 ./.evergreen/scripts/resync-all-specs.py "$PR_DESC"
36+
/opt/devtools/bin/python3.11 ./.evergreen/scripts/resync-all-specs.py --filename "$PR_DESC"
3737
if [[ -f $PR_DESC ]]; then
3838
# changes were made -> call scrypt to create PR for us
3939
.evergreen/scripts/create-spec-pr.sh "$PR_DESC"

test/bson_corpus/decimal128-1.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,30 @@
312312
"canonical_bson": "18000000136400000000000a5bc138938d44c64d31cc3700",
313313
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"}}",
314314
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"1.000000000000000000000000000000000E+999\"}}"
315+
},
316+
{
317+
"description": "Clamped zeros with a large positive exponent",
318+
"canonical_bson": "180000001364000000000000000000000000000000FE5F00",
319+
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+2147483647\"}}",
320+
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+6111\"}}"
321+
},
322+
{
323+
"description": "Clamped zeros with a large negative exponent",
324+
"canonical_bson": "180000001364000000000000000000000000000000000000",
325+
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-2147483647\"}}",
326+
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-6176\"}}"
327+
},
328+
{
329+
"description": "Clamped negative zeros with a large positive exponent",
330+
"canonical_bson": "180000001364000000000000000000000000000000FEDF00",
331+
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E+2147483647\"}}",
332+
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E+6111\"}}"
333+
},
334+
{
335+
"description": "Clamped negative zeros with a large negative exponent",
336+
"canonical_bson": "180000001364000000000000000000000000000000008000",
337+
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-2147483647\"}}",
338+
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-6176\"}}"
315339
}
316340
]
317341
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"description": "modifyCollection-errorResponse",
3+
"schemaVersion": "1.12",
4+
"createEntities": [
5+
{
6+
"client": {
7+
"id": "client0",
8+
"observeEvents": [
9+
"commandStartedEvent"
10+
]
11+
}
12+
},
13+
{
14+
"database": {
15+
"id": "database0",
16+
"client": "client0",
17+
"databaseName": "collMod-tests"
18+
}
19+
},
20+
{
21+
"collection": {
22+
"id": "collection0",
23+
"database": "database0",
24+
"collectionName": "test"
25+
}
26+
}
27+
],
28+
"initialData": [
29+
{
30+
"collectionName": "test",
31+
"databaseName": "collMod-tests",
32+
"documents": [
33+
{
34+
"_id": 1,
35+
"x": 1
36+
},
37+
{
38+
"_id": 2,
39+
"x": 1
40+
}
41+
]
42+
}
43+
],
44+
"tests": [
45+
{
46+
"description": "modifyCollection prepareUnique violations are accessible",
47+
"runOnRequirements": [
48+
{
49+
"minServerVersion": "5.2"
50+
}
51+
],
52+
"operations": [
53+
{
54+
"name": "createIndex",
55+
"object": "collection0",
56+
"arguments": {
57+
"keys": {
58+
"x": 1
59+
}
60+
}
61+
},
62+
{
63+
"name": "modifyCollection",
64+
"object": "database0",
65+
"arguments": {
66+
"collection": "test",
67+
"index": {
68+
"keyPattern": {
69+
"x": 1
70+
},
71+
"prepareUnique": true
72+
}
73+
}
74+
},
75+
{
76+
"name": "insertOne",
77+
"object": "collection0",
78+
"arguments": {
79+
"document": {
80+
"_id": 3,
81+
"x": 1
82+
}
83+
},
84+
"expectError": {
85+
"errorCode": 11000
86+
}
87+
},
88+
{
89+
"name": "modifyCollection",
90+
"object": "database0",
91+
"arguments": {
92+
"collection": "test",
93+
"index": {
94+
"keyPattern": {
95+
"x": 1
96+
},
97+
"unique": true
98+
}
99+
},
100+
"expectError": {
101+
"isClientError": false,
102+
"errorCode": 359,
103+
"errorResponse": {
104+
"violations": [
105+
{
106+
"ids": [
107+
1,
108+
2
109+
]
110+
}
111+
]
112+
}
113+
}
114+
}
115+
]
116+
}
117+
]
118+
}

test/collection_management/timeseries-collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
"description": "createCollection with bucketing options",
256256
"runOnRequirements": [
257257
{
258-
"minServerVersion": "7.0"
258+
"minServerVersion": "6.3"
259259
}
260260
],
261261
"operations": [

test/connection_logging/connection-logging.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,22 @@
446446
}
447447
}
448448
},
449+
{
450+
"level": "debug",
451+
"component": "connection",
452+
"data": {
453+
"message": "Connection pool cleared",
454+
"serverHost": {
455+
"$$type": "string"
456+
},
457+
"serverPort": {
458+
"$$type": [
459+
"int",
460+
"long"
461+
]
462+
}
463+
}
464+
},
449465
{
450466
"level": "debug",
451467
"component": "connection",
@@ -498,26 +514,10 @@
498514
]
499515
}
500516
}
501-
},
502-
{
503-
"level": "debug",
504-
"component": "connection",
505-
"data": {
506-
"message": "Connection pool cleared",
507-
"serverHost": {
508-
"$$type": "string"
509-
},
510-
"serverPort": {
511-
"$$type": [
512-
"int",
513-
"long"
514-
]
515-
}
516-
}
517517
}
518518
]
519519
}
520520
]
521521
}
522522
]
523-
}
523+
}

test/connection_monitoring/pool-checkout-returned-connection-maxConnecting.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
}
2424
},
2525
"poolOptions": {
26+
"maxConnecting": 2,
2627
"maxPoolSize": 10,
2728
"waitQueueTimeoutMS": 5000
2829
},
@@ -72,9 +73,8 @@
7273
"connection": "conn0"
7374
},
7475
{
75-
"name": "waitForEvent",
76-
"event": "ConnectionCheckedOut",
77-
"count": 4
76+
"name": "wait",
77+
"ms": 100
7878
}
7979
],
8080
"events": [
@@ -104,14 +104,6 @@
104104
"type": "ConnectionCheckedOut",
105105
"connectionId": 1,
106106
"address": 42
107-
},
108-
{
109-
"type": "ConnectionCheckedOut",
110-
"address": 42
111-
},
112-
{
113-
"type": "ConnectionCheckedOut",
114-
"address": 42
115107
}
116108
],
117109
"ignore": [

test/connection_string/test/valid-options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
}
6060
}
6161
]
62-
}
62+
}

test/connection_string/test/valid-warnings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@
112112
}
113113
}
114114
]
115-
}
115+
}

test/crud/unified/client-bulkWrite-replaceOne-sort.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "client bulkWrite updateOne-sort",
2+
"description": "client bulkWrite replaceOne-sort",
33
"schemaVersion": "1.4",
44
"runOnRequirements": [
55
{

0 commit comments

Comments
 (0)