Skip to content

Commit 50348c2

Browse files
committed
PHPLIB-666: Sync command monitoring tests for 5.0 cursor behavior
Synced with mongodb/specifications@9da20b4
1 parent a518473 commit 50348c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/SpecTests/command-monitoring/find.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,9 @@
413413
]
414414
},
415415
{
416-
"description": "A successful find event with a getmore and the server kills the cursor",
416+
"description": "A successful find event with a getmore and the server kills the cursor (<= 4.4)",
417417
"ignore_if_server_version_less_than": "3.1",
418+
"ignore_if_server_version_greater_than": "4.4",
418419
"ignore_if_topology_type": [
419420
"sharded"
420421
],

tests/UnifiedSpecTests/valid-pass/poc-command-monitoring.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@
5757
],
5858
"tests": [
5959
{
60-
"description": "A successful find event with a getmore and the server kills the cursor",
60+
"description": "A successful find event with a getmore and the server kills the cursor (<= 4.4)",
6161
"runOnRequirements": [
6262
{
6363
"minServerVersion": "3.1",
64+
"maxServerVersion": "4.4.99",
6465
"topologies": [
6566
"single",
6667
"replicaset"

0 commit comments

Comments
 (0)