From e6d1c0e5924ad2bddc6bf863ccb99f42f6e0d75a Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 2 May 2024 09:38:40 +0100 Subject: [PATCH] CSOT test: Fix collection name in expected event (#1554) DRIVERS-2873 --- source/client-side-operations-timeout/tests/close-cursors.json | 2 +- source/client-side-operations-timeout/tests/close-cursors.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client-side-operations-timeout/tests/close-cursors.json b/source/client-side-operations-timeout/tests/close-cursors.json index 8cd7d4450d..a8b2d724fa 100644 --- a/source/client-side-operations-timeout/tests/close-cursors.json +++ b/source/client-side-operations-timeout/tests/close-cursors.json @@ -215,7 +215,7 @@ { "commandStartedEvent": { "command": { - "killCursors": "collection", + "killCursors": "coll", "maxTimeMS": { "$$type": [ "int", diff --git a/source/client-side-operations-timeout/tests/close-cursors.yml b/source/client-side-operations-timeout/tests/close-cursors.yml index 1f20bc0ae1..c4c4ea0acd 100644 --- a/source/client-side-operations-timeout/tests/close-cursors.yml +++ b/source/client-side-operations-timeout/tests/close-cursors.yml @@ -120,7 +120,7 @@ tests: commandName: find - commandStartedEvent: command: - killCursors: *collection + killCursors: *collectionName maxTimeMS: { $$type: ["int", "long"] } commandName: killCursors - commandSucceededEvent: