Skip to content

Commit 41bc969

Browse files
Sergey's comments
1 parent d3ec74a commit 41bc969

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/integration/server-discovery-and-monitoring/server_discovery_and_monitoring.prose.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ describe('Server Discovery and Monitoring Prose Tests', function () {
258258
);
259259

260260
expect(poolClearedEvents).to.be.empty;
261-
expect(checkoutFailedEvents.length).to.be.greaterThan(10);
261+
expect(checkoutFailedEvents.length).to.be.at.least(10);
262262
}
263263
);
264264
});

test/unit/assorted/server_discovery_and_monitoring.spec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function makeConnectionsError(appError: ApplicationError): sinon.SinonStub[] {
339339

340340
netStub.callsFake(function createConnectionStub() {
341341
const socket = new net.Socket();
342-
process.nextTick(() => socket.emit('connect'));
342+
queueMicrotask(() => socket.emit('connect'));
343343
return socket;
344344
});
345345

0 commit comments

Comments
 (0)