@@ -78,17 +78,8 @@ describe('MongoClient.close() Integration', () => {
7878 describe ( 'Node.js resource: Server Selection Timer' , ( ) => {
7979 describe ( 'after a Topology is created through client.connect()' , ( ) => {
8080 const metadata : MongoDBMetadataUI = { requires : { topology : 'replicaset' } } ;
81- it . skip ( 'server selection timers are cleaned up by client.close()' , metdata , async ( ) => {
82- const run = async function ( {
83- MongoClient,
84- uri,
85- expect,
86- sinon,
87- sleep,
88- mongodb,
89- getTimerCount,
90- timers
91- } ) {
81+ it . skip ( 'server selection timers are cleaned up by client.close()' , metadata , async ( ) => {
82+ const run = async function ( { MongoClient, uri, expect, sleep, mongodb, getTimerCount } ) {
9283 const serverSelectionTimeoutMS = 2222 ;
9384 const client = new MongoClient ( uri , {
9485 minPoolSize : 1 ,
@@ -204,7 +195,7 @@ describe('MongoClient.close() Integration', () => {
204195 describe ( 'Monitoring Connection' , ( ) => {
205196 describe ( 'Node.js resource: Socket' , ( ) => {
206197 it . skip ( 'no sockets remain after client.close()' , metadata , async function ( ) {
207- const run = async function ( { MongoClient, uri, expect } ) {
198+ const run = async function ( { MongoClient, uri, expect, getSocketEndpoints } ) {
208199 const client = new MongoClient ( uri ) ;
209200 await client . connect ( ) ;
210201
0 commit comments