From eff550d777bd994682983f6468b8ba32790f3ca0 Mon Sep 17 00:00:00 2001 From: Matt Broadstone Date: Tue, 7 Jul 2020 12:10:20 -0400 Subject: [PATCH] chore: sync retryable reads tests for `listIndex` changes NODE-2266 --- test/spec/retryable-reads/README.rst | 8 +- .../spec/retryable-reads/aggregate-merge.json | 2 +- test/spec/retryable-reads/aggregate-merge.yml | 2 +- ...angeStreams-client.watch-serverErrors.json | 25 ----- ...hangeStreams-client.watch-serverErrors.yml | 2 +- .../changeStreams-client.watch.json | 6 -- .../changeStreams-client.watch.yml | 2 +- ...ngeStreams-db.coll.watch-serverErrors.json | 100 +++++------------- ...angeStreams-db.coll.watch-serverErrors.yml | 2 +- .../changeStreams-db.coll.watch.json | 24 ++--- .../changeStreams-db.coll.watch.yml | 2 +- .../changeStreams-db.watch-serverErrors.json | 100 +++++------------- .../changeStreams-db.watch-serverErrors.yml | 2 +- .../changeStreams-db.watch.json | 24 ++--- .../changeStreams-db.watch.yml | 2 +- test/spec/retryable-reads/listIndexNames.json | 12 +-- test/spec/retryable-reads/listIndexNames.yml | 2 +- 17 files changed, 84 insertions(+), 233 deletions(-) diff --git a/test/spec/retryable-reads/README.rst b/test/spec/retryable-reads/README.rst index 99636fb041..ffb842c303 100644 --- a/test/spec/retryable-reads/README.rst +++ b/test/spec/retryable-reads/README.rst @@ -84,7 +84,10 @@ Each YAML file has the following keys: - ``bucket_name``: Optional. The GridFS bucket name to use for testing. - ``data``: The data that should exist in the collection(s) under test before - each test run. + each test run. This will typically be an array of documents to be inserted + into the collection under test (i.e. ``collection_name``); however, this field + may also be an object mapping collection names to arrays of documents to be + inserted into the specified collection. - ``tests``: An array of tests that are to be run independently of each other. Each test will have some or all of the following fields: @@ -126,6 +129,9 @@ GridFS Tests ------------ GridFS tests are denoted by when the YAML file contains ``bucket_name``. +The ``data`` field will also be an object, which maps collection names +(e.g. ``fs.files``) to an array of documents that should be inserted into +the specified collection. ``fs.files`` and ``fs.chunks`` should be created in the database specified by ``database_name``. This could be done via inserts or by diff --git a/test/spec/retryable-reads/aggregate-merge.json b/test/spec/retryable-reads/aggregate-merge.json index 8a94592312..b401d741ba 100644 --- a/test/spec/retryable-reads/aggregate-merge.json +++ b/test/spec/retryable-reads/aggregate-merge.json @@ -1,7 +1,7 @@ { "runOn": [ { - "minServerVersion": "4.2.0" + "minServerVersion": "4.1.11" } ], "database_name": "retryable-reads-tests", diff --git a/test/spec/retryable-reads/aggregate-merge.yml b/test/spec/retryable-reads/aggregate-merge.yml index 4b7dd04480..f9913348f4 100644 --- a/test/spec/retryable-reads/aggregate-merge.yml +++ b/test/spec/retryable-reads/aggregate-merge.yml @@ -1,6 +1,6 @@ runOn: - - minServerVersion: "4.2.0" + minServerVersion: "4.1.11" database_name: &database_name "retryable-reads-tests" collection_name: &collection_name "coll" diff --git a/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.json b/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.json index ec2ba0be7b..cf6c230ec8 100644 --- a/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.json +++ b/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.json @@ -59,7 +59,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -76,7 +75,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -116,7 +114,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -133,7 +130,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -173,7 +169,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -190,7 +185,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -230,7 +224,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -247,7 +240,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -287,7 +279,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -304,7 +295,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -344,7 +334,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -361,7 +350,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -401,7 +389,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -418,7 +405,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -458,7 +444,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -475,7 +460,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -515,7 +499,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -532,7 +515,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -572,7 +554,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -589,7 +570,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -629,7 +609,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -646,7 +625,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -687,7 +665,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -704,7 +681,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -748,7 +724,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } diff --git a/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.yml b/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.yml index 53801e9bca..50ca49dff7 100644 --- a/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.yml +++ b/test/spec/retryable-reads/changeStreams-client.watch-serverErrors.yml @@ -31,7 +31,7 @@ tests: command: aggregate: 1 cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default", allChangesForCluster: true } } ] + pipeline: [ { $changeStream: { allChangesForCluster: true } } ] database_name: admin - *retryable_command_started_event - diff --git a/test/spec/retryable-reads/changeStreams-client.watch.json b/test/spec/retryable-reads/changeStreams-client.watch.json index bfb58a70e0..9a2ccad095 100644 --- a/test/spec/retryable-reads/changeStreams-client.watch.json +++ b/test/spec/retryable-reads/changeStreams-client.watch.json @@ -39,7 +39,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -79,7 +78,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -96,7 +94,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -140,7 +137,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -181,7 +177,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } @@ -198,7 +193,6 @@ "pipeline": [ { "$changeStream": { - "fullDocument": "default", "allChangesForCluster": true } } diff --git a/test/spec/retryable-reads/changeStreams-client.watch.yml b/test/spec/retryable-reads/changeStreams-client.watch.yml index ab11aa98cd..865619e721 100644 --- a/test/spec/retryable-reads/changeStreams-client.watch.yml +++ b/test/spec/retryable-reads/changeStreams-client.watch.yml @@ -25,7 +25,7 @@ tests: command: aggregate: 1 cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default", "allChangesForCluster": true } } ] + pipeline: [ { $changeStream: { "allChangesForCluster": true } } ] database_name: admin - description: "client.watch succeeds on second attempt" diff --git a/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.json b/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.json index 858a29cf98..eb7df1e264 100644 --- a/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.json +++ b/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.json @@ -58,9 +58,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -74,9 +72,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -113,9 +109,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -129,9 +123,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -168,9 +160,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -184,9 +174,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -223,9 +211,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -239,9 +225,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -278,9 +262,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -294,9 +276,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -333,9 +313,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -349,9 +327,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -388,9 +364,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -404,9 +378,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -443,9 +415,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -459,9 +429,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -498,9 +466,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -514,9 +480,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -553,9 +517,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -569,9 +531,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -608,9 +568,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -624,9 +582,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -664,9 +620,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -680,9 +634,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -723,9 +675,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, diff --git a/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.yml b/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.yml index 99f606b73c..3926db122c 100644 --- a/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.yml +++ b/test/spec/retryable-reads/changeStreams-db.coll.watch-serverErrors.yml @@ -31,7 +31,7 @@ tests: command: aggregate: *collection_name cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default" } } ] + pipeline: [ { $changeStream: { } } ] database_name: *database_name - *retryable_command_started_event - diff --git a/test/spec/retryable-reads/changeStreams-db.coll.watch.json b/test/spec/retryable-reads/changeStreams-db.coll.watch.json index 67d56b2cd0..3408c84236 100644 --- a/test/spec/retryable-reads/changeStreams-db.coll.watch.json +++ b/test/spec/retryable-reads/changeStreams-db.coll.watch.json @@ -38,9 +38,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -77,9 +75,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -93,9 +89,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -136,9 +130,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -176,9 +168,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -192,9 +182,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, diff --git a/test/spec/retryable-reads/changeStreams-db.coll.watch.yml b/test/spec/retryable-reads/changeStreams-db.coll.watch.yml index 2f605608b0..bffa40b5bd 100644 --- a/test/spec/retryable-reads/changeStreams-db.coll.watch.yml +++ b/test/spec/retryable-reads/changeStreams-db.coll.watch.yml @@ -25,7 +25,7 @@ tests: command: aggregate: *collection_name cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default" } } ] + pipeline: [ { $changeStream: { } } ] database_name: *database_name - description: "db.coll.watch succeeds on second attempt" diff --git a/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.json b/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.json index dc1e21e2c4..e070f56a01 100644 --- a/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.json +++ b/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.json @@ -58,9 +58,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -74,9 +72,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -113,9 +109,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -129,9 +123,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -168,9 +160,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -184,9 +174,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -223,9 +211,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -239,9 +225,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -278,9 +262,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -294,9 +276,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -333,9 +313,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -349,9 +327,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -388,9 +364,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -404,9 +378,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -443,9 +415,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -459,9 +429,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -498,9 +466,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -514,9 +480,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -553,9 +517,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -569,9 +531,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -608,9 +568,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -624,9 +582,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -664,9 +620,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -680,9 +634,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -723,9 +675,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, diff --git a/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.yml b/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.yml index 943b736e6b..f8e6de7674 100644 --- a/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.yml +++ b/test/spec/retryable-reads/changeStreams-db.watch-serverErrors.yml @@ -31,7 +31,7 @@ tests: command: aggregate: 1 cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default" } } ] + pipeline: [ { $changeStream: { } } ] database_name: *database_name - *retryable_command_started_event - diff --git a/test/spec/retryable-reads/changeStreams-db.watch.json b/test/spec/retryable-reads/changeStreams-db.watch.json index 8f1099bc7a..bec09c49b7 100644 --- a/test/spec/retryable-reads/changeStreams-db.watch.json +++ b/test/spec/retryable-reads/changeStreams-db.watch.json @@ -38,9 +38,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -77,9 +75,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -93,9 +89,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -136,9 +130,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -176,9 +168,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, @@ -192,9 +182,7 @@ "cursor": {}, "pipeline": [ { - "$changeStream": { - "fullDocument": "default" - } + "$changeStream": {} } ] }, diff --git a/test/spec/retryable-reads/changeStreams-db.watch.yml b/test/spec/retryable-reads/changeStreams-db.watch.yml index 197cf4a359..b180114618 100644 --- a/test/spec/retryable-reads/changeStreams-db.watch.yml +++ b/test/spec/retryable-reads/changeStreams-db.watch.yml @@ -25,7 +25,7 @@ tests: command: aggregate: 1 cursor: {} - pipeline: [ { $changeStream: { fullDocument: "default" } } ] + pipeline: [ { $changeStream: { } } ] database_name: *database_name - description: "db.watch succeeds on second attempt" diff --git a/test/spec/retryable-reads/listIndexNames.json b/test/spec/retryable-reads/listIndexNames.json index ef2a6d7306..912c706015 100644 --- a/test/spec/retryable-reads/listIndexNames.json +++ b/test/spec/retryable-reads/listIndexNames.json @@ -30,7 +30,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } @@ -61,7 +61,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } @@ -69,7 +69,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } @@ -104,7 +104,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } @@ -136,7 +136,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } @@ -144,7 +144,7 @@ { "command_started_event": { "command": { - "listIndexNames": "coll" + "listIndexes": "coll" }, "database_name": "retryable-reads-tests" } diff --git a/test/spec/retryable-reads/listIndexNames.yml b/test/spec/retryable-reads/listIndexNames.yml index a20f2251bd..7c78a0fda6 100644 --- a/test/spec/retryable-reads/listIndexNames.yml +++ b/test/spec/retryable-reads/listIndexNames.yml @@ -22,7 +22,7 @@ tests: - &retryable_command_started_event command_started_event: command: - listIndexNames: *collection_name + listIndexes: *collection_name database_name: *database_name - description: "ListIndexNames succeeds on second attempt"