Skip to content

Commit

Permalink
fix(NODE-3528): add support for snappy 7 (#2939)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Aug 23, 2021
1 parent dfc39d1 commit 0f7f300
Show file tree
Hide file tree
Showing 10 changed files with 448 additions and 302 deletions.
48 changes: 34 additions & 14 deletions .evergreen/config.yml
Expand Up @@ -609,6 +609,17 @@ functions:
rm -f ./prepare_client_encryption.sh
MONGODB_URI="${MONGODB_URI}" bash ${PROJECT_DIRECTORY}/.evergreen/run-custom-csfle-tests.sh
run custom snappy tests:
- command: subprocess.exec
params:
working_dir: src
timeout_secs: 60
env:
MONGODB_URI: '${MONGODB_URI}'
PROJECT_DIRECTORY: '${PROJECT_DIRECTORY}'
binary: bash
args:
- '${PROJECT_DIRECTORY}/.evergreen/run-snappy-version-test.sh'
run bson-ext test:
- command: shell.exec
type: test
Expand Down Expand Up @@ -1677,26 +1688,38 @@ tasks:
- func: run mongosh integration tests
- name: run-custom-csfle-tests
tags:
- run-custom-csfle-tests
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
- func: bootstrap mongo-orchestration
vars:
VERSION: '4.4'
VERSION: '5.0'
TOPOLOGY: server
- func: run custom csfle tests
- name: run-custom-snappy-tests
tags:
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
- func: bootstrap mongo-orchestration
vars:
VERSION: '5.0'
TOPOLOGY: server
- func: run custom snappy tests
- name: run-bson-ext-test
tags:
- run-bson-ext-test
- run-custom-dependency-tests
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: erbium
- func: bootstrap mongo-orchestration
vars:
VERSION: '4.4'
VERSION: '5.0'
TOPOLOGY: server
- func: run bson-ext test
vars:
Expand Down Expand Up @@ -1993,16 +2016,6 @@ buildvariants:
run_on: ubuntu1804-large
tasks:
- run-checks
- name: ubuntu1804-custom-csfle-tests
display_name: Custom FLE Version Test
run_on: ubuntu1804-large
tasks:
- run-custom-csfle-tests
- name: ubuntu1804-run-bson-ext-test
display_name: BSON EXT Test
run_on: ubuntu1804-large
tasks:
- run-bson-ext-test
- name: mongosh_integration_tests
display_name: mongosh integration tests
run_on: ubuntu1804-test
Expand Down Expand Up @@ -2032,6 +2045,13 @@ buildvariants:
- aws-4.4-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables
- aws-4.4-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables
- aws-4.4-auth-test-run-aws-ECS-auth-test
- name: ubuntu1804-custom-dependency-tests
display_name: Custom Dependency Version Test
run_on: ubuntu1804-large
tasks:
- run-custom-csfle-tests
- run-custom-snappy-tests
- run-bson-ext-test
- name: ubuntu1804-test-serverless
display_name: Serverless Test
run_on: ubuntu1804-test
Expand Down
12 changes: 12 additions & 0 deletions .evergreen/config.yml.in
Expand Up @@ -650,6 +650,18 @@ functions:

MONGODB_URI="${MONGODB_URI}" bash ${PROJECT_DIRECTORY}/.evergreen/run-custom-csfle-tests.sh

"run custom snappy tests":
- command: subprocess.exec
params:
working_dir: "src"
timeout_secs: 60
env:
MONGODB_URI: ${MONGODB_URI}
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
binary: bash
args:
- "${PROJECT_DIRECTORY}/.evergreen/run-snappy-version-test.sh"

"run bson-ext test":
- command: shell.exec
type: test
Expand Down

0 comments on commit 0f7f300

Please sign in to comment.