From bc008036098c45957b57510d02936f06d49797f2 Mon Sep 17 00:00:00 2001 From: Daria Pardue Date: Fri, 30 Sep 2022 12:23:10 -0400 Subject: [PATCH] test: update test to reliably await connection pool minsize --- .../server_selection.prose.operation_count.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/server-selection/server_selection.prose.operation_count.test.ts b/test/integration/server-selection/server_selection.prose.operation_count.test.ts index 21b41ad4230..5bfe5a42ab0 100644 --- a/test/integration/server-selection/server_selection.prose.operation_count.test.ts +++ b/test/integration/server-selection/server_selection.prose.operation_count.test.ts @@ -1,6 +1,5 @@ import { expect } from 'chai'; -import { setTimeout } from 'timers'; -import { promisify } from 'util'; +import { on } from 'events'; import { CommandStartedEvent } from '../../../src'; import { Collection } from '../../../src/collection';