Skip to content

Commit 716a251

Browse files
committed
fixup: skip on windows
1 parent 715e4c5 commit 716a251

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/e2e-tests/test/e2e-tls.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ describe('e2e TLS', function () {
323323
before(function () {
324324
// TODO(MONGOSH-1898): Drop Node.js 16 entirely
325325
if (process.version.startsWith('v16.')) return this.skip();
326+
// The Windows crypto libraries don't accept the particular certificate setup here
327+
// ('CertAddCertificateContextToStore Failed The object or property already exists'),
328+
// so will not let us start a mongod server
329+
if (process.platform === 'win32') return this.skip();
326330
});
327331

328332
const server = startTestServer('e2e-tls-partial-trust-chain', {

0 commit comments

Comments
 (0)