Skip to content

Commit 65c5d5f

Browse files
committed
test(NODE-3688): remove extra cmap event from ping
1 parent fecb104 commit 65c5d5f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/tools/unified-spec-runner/runner.ts

-5
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ export async function runUnifiedTest(
198198
const actualEvents =
199199
eventType === 'cmap' ? clientCmapEvents.get(clientId) : clientCommandEvents.get(clientId);
200200

201-
// TODO: NODE-2149: Making connect optional should get rid of the initial ping in
202-
// the driver so this block can then be removed.
203-
if (eventType === 'cmap' && testPing) {
204-
expectedEventList.events.push({ connectionCheckOutStartedEvent: {} });
205-
}
206201
expect(actualEvents, `No client entity found with id ${clientId}`).to.exist;
207202
matchesEvents(expectedEventList.events, actualEvents, entities);
208203
}

0 commit comments

Comments
 (0)