From 07e226446425184dc535c0781392ef9abe3f426d Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 7 Aug 2025 19:54:12 +0200 Subject: [PATCH] chore: skip integration tests for Windows too in Evergreen These seem to have started to fail recently too, without changes to the code itself (i.e. possibly only because of infrastructure or external dependency changes such as Chrome updates). --- src/plugin.spec.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/plugin.spec.ts b/src/plugin.spec.ts index c5a4f7c..cbf9eda 100644 --- a/src/plugin.spec.ts +++ b/src/plugin.spec.ts @@ -1090,11 +1090,14 @@ describe('OIDC plugin (local OIDC provider)', function () { console.info('skipping Okta integration tests due to missing config'); return this.skip(); } - if (process.env.EVR_TASK_ID && process.platform === 'darwin') { - // TODO(MONGOSH-2335): Unskip Okta integration tests on macOS in Evergreen + if ( + process.env.EVR_TASK_ID && + ['darwin', 'win32'].includes(process.platform) + ) { + // TODO(MONGOSH-2335): Unskip Okta integration tests on macOS/Windows in Evergreen // eslint-disable-next-line no-console console.info( - 'skipping Okta integration tests on macOS in Evergreen MONGOSH-2335' + 'skipping Okta integration tests on macOS/Windows in Evergreen MONGOSH-2335' ); return this.skip(); } @@ -1173,11 +1176,14 @@ describe('OIDC plugin (local OIDC provider)', function () { return this.skip(); } - if (process.env.EVR_TASK_ID && process.platform === 'darwin') { - // TODO(MONGOSH-2335): Unskip Azure integration tests on macOS in Evergreen + if ( + process.env.EVR_TASK_ID && + ['darwin', 'win32'].includes(process.platform) + ) { + // TODO(MONGOSH-2335): Unskip Azure integration tests on macOS/Windows in Evergreen // eslint-disable-next-line no-console console.info( - 'skipping Azure integration tests on macOS in Evergreen MONGOSH-2335' + 'skipping Azure integration tests on macOS/Windows in Evergreen MONGOSH-2335' ); return this.skip(); }