Skip to content

Commit cded8bb

Browse files
committed
pr feedback: only exclude kerberos and lb tests from windows
1 parent 5a93bbc commit cded8bb

2 files changed

Lines changed: 21 additions & 9 deletions

File tree

.evergreen/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4046,6 +4046,9 @@ buildvariants:
40464046
- test-snappy-compression
40474047
- test-zstd-compression
40484048
- test-tls-support-latest
4049+
- test-rapid-load-balanced
4050+
- test-latest-load-balanced
4051+
- test-auth-kerberos
40494052
expansions:
40504053
NODE_LTS_VERSION: 24
40514054
CLIENT_ENCRYPTION: true

.evergreen/generate_evergreen_tasks.js

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ function makeTask({
7575
}) {
7676
const baseExpansions = nodeLtsVersion
7777
? {
78-
VERSION: mongoVersion,
79-
TOPOLOGY: topology,
80-
AUTH: auth,
81-
SSL: ssl,
82-
NODE_LTS_VERSION: nodeLtsVersion
83-
}
78+
VERSION: mongoVersion,
79+
TOPOLOGY: topology,
80+
AUTH: auth,
81+
SSL: ssl,
82+
NODE_LTS_VERSION: nodeLtsVersion
83+
}
8484
: { VERSION: mongoVersion, TOPOLOGY: topology, SSL: ssl, AUTH: auth };
8585

8686
if (testCsfle) {
@@ -813,7 +813,7 @@ BUILD_VARIANTS.push({
813813
});
814814

815815
// small subset of tests to run on nodeless environments
816-
const nodelessTasks = [
816+
const commonNodelessTasks = [
817817
'test-latest-server',
818818
'test-latest-replica_set',
819819
'test-latest-sharded_cluster',
@@ -830,6 +830,15 @@ const nodelessTasks = [
830830
'test-zstd-compression',
831831
'test-tls-support-latest'
832832
];
833+
// small subset of linux-specific tests to run on nodeless environments
834+
const linuxOnlyTests = [
835+
'test-rapid-load-balanced',
836+
'test-latest-load-balanced',
837+
'test-auth-kerberos',
838+
];
839+
840+
const linuxNodelessTasks = commonNodelessTasks.concat(linuxOnlyTests);
841+
833842
const nodelessExpansions = {
834843
NODE_LTS_VERSION: LATEST_LTS,
835844
CLIENT_ENCRYPTION: true,
@@ -839,14 +848,14 @@ BUILD_VARIANTS.push({
839848
name: 'rhel8-nodeless',
840849
display_name: 'Nodeless',
841850
run_on: DEFAULT_OS,
842-
tasks: nodelessTasks,
851+
tasks: linuxNodelessTasks,
843852
expansions: nodelessExpansions
844853
});
845854
BUILD_VARIANTS.push({
846855
name: 'windows-nodeless',
847856
display_name: 'Windows Nodeless',
848857
run_on: WINDOWS_OS,
849-
tasks: nodelessTasks,
858+
tasks: commonNodelessTasks,
850859
expansions: nodelessExpansions
851860
});
852861

0 commit comments

Comments
 (0)