Skip to content

Commit

Permalink
test(NODE-4974): backport range index tests to 4x (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson authored Jan 26, 2023
1 parent 6c94b4a commit ed6c957
Show file tree
Hide file tree
Showing 102 changed files with 59,947 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .evergreen/config.in.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ command_type: system
# Protect ourself against rogue test case, or curl gone wild, that runs forever
# Good rule of thumb: the averageish length a task takes, times 5
# That roughly accounts for variable system performance for various buildvariants
exec_timeout_secs: 1200
exec_timeout_secs: 2100

# What to do when evergreen hits the timeout (`post:` tasks are run automatically)
timeout:
Expand Down
8 changes: 4 additions & 4 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
stepback: true
command_type: system
exec_timeout_secs: 1200
exec_timeout_secs: 2100
timeout:
- command: subprocess.exec
params:
Expand Down Expand Up @@ -2204,7 +2204,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: ff9e095eaf72f9e442761f69080dae159a395d94
CSFLE_GIT_REF: 67bec571c0c21f4db8a96b6bd61cb24dfc87a223
- name: run-custom-csfle-tests-5.0-master
tags:
- run-custom-dependency-tests
Expand Down Expand Up @@ -2234,7 +2234,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: ff9e095eaf72f9e442761f69080dae159a395d94
CSFLE_GIT_REF: 67bec571c0c21f4db8a96b6bd61cb24dfc87a223
- name: run-custom-csfle-tests-rapid-master
tags:
- run-custom-dependency-tests
Expand Down Expand Up @@ -2264,7 +2264,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: ff9e095eaf72f9e442761f69080dae159a395d94
CSFLE_GIT_REF: 67bec571c0c21f4db8a96b6bd61cb24dfc87a223
- name: run-custom-csfle-tests-latest-master
tags:
- run-custom-dependency-tests
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ const oneOffFuncAsTasks = oneOffFuncs.map(oneOffFunc => ({
}));

for (const version of ['5.0', 'rapid', 'latest']) {
for (const ref of ['ff9e095eaf72f9e442761f69080dae159a395d94', 'master']) {
for (const ref of ['67bec571c0c21f4db8a96b6bd61cb24dfc87a223', 'master']) {
oneOffFuncAsTasks.push({
name: `run-custom-csfle-tests-${version}-${ref === 'master' ? ref : 'pinned-commit'}`,
tags: ['run-custom-dependency-tests'],
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/run-serverless-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ -z ${MONGODB_URI+omitted} ]; then echo "MONGODB_URI is unset" && exit 1; fi
if [ -z ${SERVERLESS_ATLAS_USER+omitted} ]; then echo "SERVERLESS_ATLAS_USER is unset" && exit 1; fi
if [ -z ${SERVERLESS_ATLAS_PASSWORD+omitted} ]; then echo "SERVERLESS_ATLAS_PASSWORD is unset" && exit 1; fi

npm install mongodb-client-encryption@">=2.3.0"
npm install mongodb-client-encryption@"2.4.0-alpha.2"

npx mocha \
--config test/mocha_mongodb.json \
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ else
source "$DRIVERS_TOOLS"/.evergreen/csfle/set-temp-creds.sh
fi

npm install mongodb-client-encryption@">=2.3.0"
npm install mongodb-client-encryption@"2.4.0-alpha.2"
npm install @mongodb-js/zstd
npm install snappy

Expand Down
Loading

0 comments on commit ed6c957

Please sign in to comment.