From 084ee0bca41eeb263d611eea0de10fa91cd6e792 Mon Sep 17 00:00:00 2001 From: Nathan Xu Date: Wed, 30 Oct 2024 13:18:30 -0400 Subject: [PATCH 1/2] Remove client side limit tracking for cursors --- .../command-logging-and-monitoring/tests/monitoring/find.json | 2 +- source/command-logging-and-monitoring/tests/monitoring/find.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/command-logging-and-monitoring/tests/monitoring/find.json b/source/command-logging-and-monitoring/tests/monitoring/find.json index bc9668499b..a362f35eeb 100644 --- a/source/command-logging-and-monitoring/tests/monitoring/find.json +++ b/source/command-logging-and-monitoring/tests/monitoring/find.json @@ -483,7 +483,7 @@ ] }, "collection": "test", - "batchSize": 1 + "batchSize": 3 }, "commandName": "getMore", "databaseName": "command-monitoring-tests" diff --git a/source/command-logging-and-monitoring/tests/monitoring/find.yml b/source/command-logging-and-monitoring/tests/monitoring/find.yml index 479e4a460c..d28f6c6e6d 100644 --- a/source/command-logging-and-monitoring/tests/monitoring/find.yml +++ b/source/command-logging-and-monitoring/tests/monitoring/find.yml @@ -226,7 +226,7 @@ tests: command: getMore: { $$type: [ int, long ] } collection: *collectionName - batchSize: 1 + batchSize: 3 commandName: getMore databaseName: *databaseName - commandSucceededEvent: From 1b02cc28a42cdafab052f3418850fcf77a9efc12 Mon Sep 17 00:00:00 2001 From: Nathan Xu Date: Wed, 30 Oct 2024 16:36:47 -0400 Subject: [PATCH 2/2] add cases in 'atlas-data-lake-testing' --- source/atlas-data-lake-testing/tests/unified/getMore.json | 2 +- source/atlas-data-lake-testing/tests/unified/getMore.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/atlas-data-lake-testing/tests/unified/getMore.json b/source/atlas-data-lake-testing/tests/unified/getMore.json index 109b6d3d8e..e7c600d525 100644 --- a/source/atlas-data-lake-testing/tests/unified/getMore.json +++ b/source/atlas-data-lake-testing/tests/unified/getMore.json @@ -81,7 +81,7 @@ "collection": { "$$type": "string" }, - "batchSize": 1 + "batchSize": 3 }, "commandName": "getMore", "databaseName": "cursors" diff --git a/source/atlas-data-lake-testing/tests/unified/getMore.yml b/source/atlas-data-lake-testing/tests/unified/getMore.yml index f02fbfe9a1..46cd5cd47a 100644 --- a/source/atlas-data-lake-testing/tests/unified/getMore.yml +++ b/source/atlas-data-lake-testing/tests/unified/getMore.yml @@ -42,7 +42,7 @@ tests: getMore: { $$type: [ int, long ] } # collection name will be an internal identifier collection: { $$type: string } - batchSize: 1 + batchSize: 3 commandName: getMore # mongohoused always expects getMores on the "cursors" database databaseName: cursors