Skip to content

Commit 92ee414

Browse files
authored
fix(ci): also skip java-shell tests on 4.2.x enterprise server (#1647)
Missed this in def7f1c.
1 parent 8e677b3 commit 92ee414

File tree

2 files changed

+5
-34
lines changed

2 files changed

+5
-34
lines changed

.evergreen.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,20 +3050,6 @@ functions:
30503050
script: |
30513051
set -e
30523052
tar xvzf nyc-output-linux_unit-m42xc_n20_java_shell.tgz
3053-
- command: s3.get
3054-
params:
3055-
aws_key: ${aws_key}
3056-
aws_secret: ${aws_secret}
3057-
local_file: src/nyc-output-linux_unit-m42xe_n20_java_shell.tgz
3058-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-linux_unit-m42xe_n20_java_shell.tgz
3059-
bucket: mciuploads
3060-
- command: shell.exec
3061-
params:
3062-
working_dir: src
3063-
shell: bash
3064-
script: |
3065-
set -e
3066-
tar xvzf nyc-output-linux_unit-m42xe_n20_java_shell.tgz
30673053
- command: s3.get
30683054
params:
30693055
aws_key: ${aws_key}
@@ -3204,20 +3190,6 @@ functions:
32043190
script: |
32053191
set -e
32063192
tar xvzf nyc-output-linux_unit-m42xc_n16_java_shell.tgz
3207-
- command: s3.get
3208-
params:
3209-
aws_key: ${aws_key}
3210-
aws_secret: ${aws_secret}
3211-
local_file: src/nyc-output-linux_unit-m42xe_n16_java_shell.tgz
3212-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-linux_unit-m42xe_n16_java_shell.tgz
3213-
bucket: mciuploads
3214-
- command: shell.exec
3215-
params:
3216-
working_dir: src
3217-
shell: bash
3218-
script: |
3219-
set -e
3220-
tar xvzf nyc-output-linux_unit-m42xe_n16_java_shell.tgz
32213193
- command: s3.get
32223194
params:
32233195
aws_key: ${aws_key}
@@ -12873,7 +12845,6 @@ buildvariants:
1287312845
- name: test_n20_i18n
1287412846
- name: test_n16_i18n
1287512847
- name: test_m42xc_n20_java_shell
12876-
- name: test_m42xe_n20_java_shell
1287712848
- name: test_m44xc_n20_java_shell
1287812849
- name: test_m44xe_n20_java_shell
1287912850
- name: test_m50xc_n20_java_shell
@@ -12884,7 +12855,6 @@ buildvariants:
1288412855
- name: test_m70xe_n20_java_shell
1288512856
- name: test_mlatest_n20_java_shell
1288612857
- name: test_m42xc_n16_java_shell
12887-
- name: test_m42xe_n16_java_shell
1288812858
- name: test_m44xc_n16_java_shell
1288912859
- name: test_m44xe_n16_java_shell
1289012860
- name: test_m50xc_n16_java_shell

.evergreen/evergreen.yml.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,16 @@ for (const packageInfo of MONGOSH_PACKAGES) {
4747
});
4848
} else {
4949
for (const { shortName: mShort, versionSpec: mVersion } of MONGODB_VERSIONS) {
50-
const defaultVariantsForMdbServerTest = (mShort === '42xe') ?
50+
let variants = packageInfo.variants ?? defaultVariants;
51+
variants = (mShort === '42xe') ?
5152
// The MongoDB 4.2 enterprise server does not work on Ubuntu 20.04
52-
defaultVariants.filter(v => v !== 'linux') :
53-
defaultVariants;
53+
variants.filter(v => v !== 'linux') :
54+
variants;
5455
const id = `m${mShort}_n${nShort}_${packageInfo.name.replace(/-/g, '_')}`;
5556
ALL_UNIT_TESTS.push({
5657
id, nShort, nVersion, mShort, mVersion, skipNodeVersionCheck,
5758
packageName: packageInfo.name,
58-
variants: packageInfo.variants ?? defaultVariantsForMdbServerTest
59+
variants
5960
});
6061
}
6162
}

0 commit comments

Comments
 (0)