From ca3242a1c217b360b1da553ecdbbf94d7a121db8 Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Tue, 10 Mar 2026 15:22:42 -0400 Subject: [PATCH] Simplify new test --- .../backpressure-connection-checkin.json | 59 +++---------------- 1 file changed, 8 insertions(+), 51 deletions(-) diff --git a/test/client-backpressure/backpressure-connection-checkin.json b/test/client-backpressure/backpressure-connection-checkin.json index d515c97eb..f31e789b6 100644 --- a/test/client-backpressure/backpressure-connection-checkin.json +++ b/test/client-backpressure/backpressure-connection-checkin.json @@ -17,8 +17,7 @@ "id": "client", "useMultipleMongoses": false, "observeEvents": [ - "commandStartedEvent", - "commandFailedEvent", + "connectionCheckedOutEvent", "connectionCheckedInEvent" ], "ignoreCommandMonitoringEvents": [ @@ -99,82 +98,40 @@ "expectEvents": [ { "client": "client", - "eventType": "all", + "eventType": "cmap", "events": [ { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {} }, { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {} }, { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {} }, { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {} }, { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {} }, { - "commandStartedEvent": { - "commandName": "find" - } - }, - { - "commandFailedEvent": { - "commandName": "find" - } + "connectionCheckedOutEvent": {} }, { "connectionCheckedInEvent": {}