File tree 1 file changed +0
-11
lines changed
test/tools/unified-spec-runner
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -163,14 +163,8 @@ export async function runUnifiedTest(
163
163
}
164
164
}
165
165
166
- let testPing = false ;
167
166
for ( const operation of test . operations ) {
168
167
trace ( operation . name ) ;
169
- // TODO: NODE-2149: Making connect optional should get rid of the initial ping in
170
- // the driver so this block can then be removed.
171
- if ( operation . name === 'runCommand' && operation . arguments . commandName === 'ping' ) {
172
- testPing = true ;
173
- }
174
168
try {
175
169
await executeOperationAndCheck ( operation , entities , utilClient ) ;
176
170
} catch ( e ) {
@@ -198,11 +192,6 @@ export async function runUnifiedTest(
198
192
const actualEvents =
199
193
eventType === 'cmap' ? clientCmapEvents . get ( clientId ) : clientCommandEvents . get ( clientId ) ;
200
194
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
- }
206
195
expect ( actualEvents , `No client entity found with id ${ clientId } ` ) . to . exist ;
207
196
matchesEvents ( expectedEventList . events , actualEvents , entities ) ;
208
197
}
You can’t perform that action at this time.
0 commit comments