We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44db82 commit 11ad184Copy full SHA for 11ad184
src/sdam/topology.ts
@@ -458,7 +458,7 @@ export class Topology extends TypedEventEmitter<TopologyEvents> {
458
waitQueueTimeoutMS: this.client.s.options.waitQueueTimeoutMS
459
});
460
const selectServerOptions = {
461
- operationName: 'ping',
+ operationName: 'handshake',
462
...options,
463
timeoutContext
464
};
test/integration/node-specific/auto_connect.test.ts
@@ -13,7 +13,7 @@ import {
13
Topology,
14
TopologyType
15
} from '../../mongodb';
16
-import { type FailPoint, sleep } from '../../tools/utils';
+import { sleep } from '../../tools/utils';
17
18
describe('When executing an operation for the first time', () => {
19
let client: MongoClient;
0 commit comments