From 8323dd62d433a21d10c05eb3fc7bd7c61eb17dae Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Wed, 25 Mar 2026 16:45:44 -0400 Subject: [PATCH] COMPASS-9455: enable driver network check during connect --- packages/devtools-connect/src/connect.spec.ts | 7 ------- packages/devtools-connect/src/connect.ts | 1 - 2 files changed, 8 deletions(-) diff --git a/packages/devtools-connect/src/connect.spec.ts b/packages/devtools-connect/src/connect.spec.ts index c3019906..0e36a0a1 100644 --- a/packages/devtools-connect/src/connect.spec.ts +++ b/packages/devtools-connect/src/connect.spec.ts @@ -56,7 +56,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'ca', 'lookup', @@ -83,7 +82,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'autoEncryption', 'ca', @@ -130,7 +128,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'ca', 'lookup', @@ -213,7 +210,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'autoEncryption', 'ca', @@ -257,7 +253,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'ca', 'lookup', @@ -478,7 +473,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[0].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'ca', 'lookup', @@ -486,7 +480,6 @@ describe('devtools connect', function () { expect( Object.keys(mClientType.getCalls()[1].args[1]).sort(), ).to.deep.equal([ - '__skipPingOnConnect', 'allowPartialTrustChain', 'lookup', ]); diff --git a/packages/devtools-connect/src/connect.ts b/packages/devtools-connect/src/connect.ts index ee174384..05cc702a 100644 --- a/packages/devtools-connect/src/connect.ts +++ b/packages/devtools-connect/src/connect.ts @@ -590,7 +590,6 @@ async function connectMongoClientImpl({ new DevtoolsConnectionState(clientOptions, logger); const mongoClientOptions: MongoClientOptions & Partial = merge( - { __skipPingOnConnect: true }, clientOptions, shouldAddOidcCallbacks ? state.oidcPlugin.mongoClientOptions : {}, { allowPartialTrustChain: true },