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": {}