Skip to content

Commit 95d530a

Browse files
[Spec Resync] 05-25-2026 (#2818)
1 parent 00cfe6f commit 95d530a

3 files changed

Lines changed: 142 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
NEEDED UNTIL SHARDED-REPLICASET IS REMOVED FROM THE SPEC TEST
2+
diff --git a/test/discovery_and_monitoring/unified/serverMonitoringMode.json b/test/discovery_and_monitoring/unified/serverMonitoringMode.json
3+
index e44fad1b..4b492f7d 100644
4+
--- a/test/discovery_and_monitoring/unified/serverMonitoringMode.json
5+
+++ b/test/discovery_and_monitoring/unified/serverMonitoringMode.json
6+
@@ -5,7 +5,8 @@
7+
{
8+
"topologies": [
9+
"single",
10+
- "sharded"
11+
+ "sharded",
12+
+ "sharded-replicaset"
13+
],
14+
"serverless": "forbid"
15+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
PYMONGO BEHAVES SLIGHTLY DIFFERENTLY -- WE NEED THIS PATCH
2+
diff --git a/test/load_balancer/cursors.json b/test/load_balancer/cursors.json
3+
index 43e4fbb4f..4e2a55fd4 100644
4+
--- a/test/load_balancer/cursors.json
5+
+++ b/test/load_balancer/cursors.json
6+
@@ -376,7 +376,7 @@
7+
]
8+
},
9+
{
10+
+ "description": "pinned connections are not returned after an network error during getMore",
11+
- "description": "pinned connections are returned after an network error during getMore",
12+
"operations": [
13+
{
14+
"name": "failPoint",
15+
@@ -440,7 +440,7 @@
16+
"object": "testRunner",
17+
"arguments": {
18+
"client": "client0",
19+
+ "connections": 1
20+
- "connections": 0
21+
}
22+
},
23+
{
24+
@@ -659,7 +659,7 @@
25+
]
26+
},
27+
{
28+
+ "description": "pinned connections are not returned to the pool after a non-network error on getMore",
29+
- "description": "pinned connections are returned to the pool after a non-network error on getMore",
30+
"operations": [
31+
{
32+
"name": "failPoint",
33+
@@ -715,7 +715,7 @@
34+
"object": "testRunner",
35+
"arguments": {
36+
"client": "client0",
37+
+ "connections": 1
38+
- "connections": 0
39+
}
40+
},
41+
{
42+
diff --git a/test/load_balancer/sdam-error-handling.json b/test/load_balancer/sdam-error-handling.json
43+
index 63aabc04d..462fa0aac 100644
44+
--- a/test/load_balancer/sdam-error-handling.json
45+
+++ b/test/load_balancer/sdam-error-handling.json
46+
@@ -366,6 +366,9 @@
47+
{
48+
"connectionCreatedEvent": {}
49+
},
50+
+ {
51+
+ "poolClearedEvent": {}
52+
+ },
53+
{
54+
"connectionClosedEvent": {
55+
"reason": "error"
56+
@@ -378,9 +375,6 @@
57+
"connectionCheckOutFailedEvent": {
58+
"reason": "connectionError"
59+
}
60+
- },
61+
- {
62+
- "poolClearedEvent": {}
63+
}
64+
]
65+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
PYMONGO BEHAVES DIFFERENTLY INTENTIONALLY -- WE NEED THIS PATCH
2+
diff --git a/test/server_selection_logging/replica-set.json b/test/server_selection_logging/replica-set.json
3+
index 830b1ea51..5eba784bf 100644
4+
--- a/test/server_selection_logging/replica-set.json
5+
+++ b/test/server_selection_logging/replica-set.json
6+
@@ -184,7 +184,7 @@
7+
}
8+
},
9+
{
10+
- "level": "debug",
11+
+ "level": "info",
12+
"component": "serverSelection",
13+
"data": {
14+
"message": "Waiting for suitable server to become available",
15+
diff --git a/test/server_selection_logging/standalone.json b/test/server_selection_logging/standalone.json
16+
index 830b1ea51..5eba784bf 100644
17+
--- a/test/server_selection_logging/standalone.json
18+
+++ b/test/server_selection_logging/standalone.json
19+
@@ -191,7 +191,7 @@
20+
}
21+
},
22+
{
23+
- "level": "debug",
24+
+ "level": "info",
25+
"component": "serverSelection",
26+
"data": {
27+
"message": "Waiting for suitable server to become available",
28+
diff --git a/test/server_selection_logging/sharded.json b/test/server_selection_logging/sharded.json
29+
index 830b1ea51..5eba784bf 100644
30+
--- a/test/server_selection_logging/sharded.json
31+
+++ b/test/server_selection_logging/sharded.json
32+
@@ -193,7 +193,7 @@
33+
}
34+
},
35+
{
36+
- "level": "debug",
37+
+ "level": "info",
38+
"component": "serverSelection",
39+
"data": {
40+
"message": "Waiting for suitable server to become available",
41+
diff --git a/test/server_selection_logging/sharded.json b/test/server_selection_logging/operation-id.json
42+
index 830b1ea51..5eba784bf 100644
43+
--- a/test/server_selection_logging/operation-id.json
44+
+++ b/test/server_selection_logging/operation-id.json
45+
@@ -197,7 +197,7 @@
46+
}
47+
},
48+
{
49+
- "level": "debug",
50+
+ "level": "info",
51+
"component": "serverSelection",
52+
"data": {
53+
"message": "Waiting for suitable server to become available",
54+
@@ -383,7 +383,7 @@
55+
}
56+
},
57+
{
58+
- "level": "debug",
59+
+ "level": "info",
60+
"component": "serverSelection",
61+
"data": {
62+
"message": "Waiting for suitable server to become available",

0 commit comments

Comments
 (0)