Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NODE-3528): add support for snappy 7 #2939

Merged
merged 6 commits into from Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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