Skip to content

Commit 8fbf605

Browse files
authored
chore: skip integration tests for Windows too in Evergreen (#227)
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).
1 parent efbb92c commit 8fbf605

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/plugin.spec.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,11 +1090,14 @@ describe('OIDC plugin (local OIDC provider)', function () {
10901090
console.info('skipping Okta integration tests due to missing config');
10911091
return this.skip();
10921092
}
1093-
if (process.env.EVR_TASK_ID && process.platform === 'darwin') {
1094-
// TODO(MONGOSH-2335): Unskip Okta integration tests on macOS in Evergreen
1093+
if (
1094+
process.env.EVR_TASK_ID &&
1095+
['darwin', 'win32'].includes(process.platform)
1096+
) {
1097+
// TODO(MONGOSH-2335): Unskip Okta integration tests on macOS/Windows in Evergreen
10951098
// eslint-disable-next-line no-console
10961099
console.info(
1097-
'skipping Okta integration tests on macOS in Evergreen MONGOSH-2335'
1100+
'skipping Okta integration tests on macOS/Windows in Evergreen MONGOSH-2335'
10981101
);
10991102
return this.skip();
11001103
}
@@ -1173,11 +1176,14 @@ describe('OIDC plugin (local OIDC provider)', function () {
11731176
return this.skip();
11741177
}
11751178

1176-
if (process.env.EVR_TASK_ID && process.platform === 'darwin') {
1177-
// TODO(MONGOSH-2335): Unskip Azure integration tests on macOS in Evergreen
1179+
if (
1180+
process.env.EVR_TASK_ID &&
1181+
['darwin', 'win32'].includes(process.platform)
1182+
) {
1183+
// TODO(MONGOSH-2335): Unskip Azure integration tests on macOS/Windows in Evergreen
11781184
// eslint-disable-next-line no-console
11791185
console.info(
1180-
'skipping Azure integration tests on macOS in Evergreen MONGOSH-2335'
1186+
'skipping Azure integration tests on macOS/Windows in Evergreen MONGOSH-2335'
11811187
);
11821188
return this.skip();
11831189
}

0 commit comments

Comments
 (0)