Skip to content

Commit 0f7f300

Browse files
authored
fix(NODE-3528): add support for snappy 7 (#2939)
1 parent dfc39d1 commit 0f7f300

File tree

10 files changed

+448
-302
lines changed

10 files changed

+448
-302
lines changed

.evergreen/config.yml

+34-14
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,17 @@ functions:
609609
rm -f ./prepare_client_encryption.sh
610610
611611
MONGODB_URI="${MONGODB_URI}" bash ${PROJECT_DIRECTORY}/.evergreen/run-custom-csfle-tests.sh
612+
run custom snappy tests:
613+
- command: subprocess.exec
614+
params:
615+
working_dir: src
616+
timeout_secs: 60
617+
env:
618+
MONGODB_URI: '${MONGODB_URI}'
619+
PROJECT_DIRECTORY: '${PROJECT_DIRECTORY}'
620+
binary: bash
621+
args:
622+
- '${PROJECT_DIRECTORY}/.evergreen/run-snappy-version-test.sh'
612623
run bson-ext test:
613624
- command: shell.exec
614625
type: test
@@ -1677,26 +1688,38 @@ tasks:
16771688
- func: run mongosh integration tests
16781689
- name: run-custom-csfle-tests
16791690
tags:
1680-
- run-custom-csfle-tests
1691+
- run-custom-dependency-tests
16811692
commands:
16821693
- func: install dependencies
16831694
vars:
16841695
NODE_LTS_NAME: erbium
16851696
- func: bootstrap mongo-orchestration
16861697
vars:
1687-
VERSION: '4.4'
1698+
VERSION: '5.0'
16881699
TOPOLOGY: server
16891700
- func: run custom csfle tests
1701+
- name: run-custom-snappy-tests
1702+
tags:
1703+
- run-custom-dependency-tests
1704+
commands:
1705+
- func: install dependencies
1706+
vars:
1707+
NODE_LTS_NAME: erbium
1708+
- func: bootstrap mongo-orchestration
1709+
vars:
1710+
VERSION: '5.0'
1711+
TOPOLOGY: server
1712+
- func: run custom snappy tests
16901713
- name: run-bson-ext-test
16911714
tags:
1692-
- run-bson-ext-test
1715+
- run-custom-dependency-tests
16931716
commands:
16941717
- func: install dependencies
16951718
vars:
16961719
NODE_LTS_NAME: erbium
16971720
- func: bootstrap mongo-orchestration
16981721
vars:
1699-
VERSION: '4.4'
1722+
VERSION: '5.0'
17001723
TOPOLOGY: server
17011724
- func: run bson-ext test
17021725
vars:
@@ -1993,16 +2016,6 @@ buildvariants:
19932016
run_on: ubuntu1804-large
19942017
tasks:
19952018
- run-checks
1996-
- name: ubuntu1804-custom-csfle-tests
1997-
display_name: Custom FLE Version Test
1998-
run_on: ubuntu1804-large
1999-
tasks:
2000-
- run-custom-csfle-tests
2001-
- name: ubuntu1804-run-bson-ext-test
2002-
display_name: BSON EXT Test
2003-
run_on: ubuntu1804-large
2004-
tasks:
2005-
- run-bson-ext-test
20062019
- name: mongosh_integration_tests
20072020
display_name: mongosh integration tests
20082021
run_on: ubuntu1804-test
@@ -2032,6 +2045,13 @@ buildvariants:
20322045
- aws-4.4-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables
20332046
- aws-4.4-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables
20342047
- aws-4.4-auth-test-run-aws-ECS-auth-test
2048+
- name: ubuntu1804-custom-dependency-tests
2049+
display_name: Custom Dependency Version Test
2050+
run_on: ubuntu1804-large
2051+
tasks:
2052+
- run-custom-csfle-tests
2053+
- run-custom-snappy-tests
2054+
- run-bson-ext-test
20352055
- name: ubuntu1804-test-serverless
20362056
display_name: Serverless Test
20372057
run_on: ubuntu1804-test

.evergreen/config.yml.in

+12
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,18 @@ functions:
650650

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

653+
"run custom snappy tests":
654+
- command: subprocess.exec
655+
params:
656+
working_dir: "src"
657+
timeout_secs: 60
658+
env:
659+
MONGODB_URI: ${MONGODB_URI}
660+
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
661+
binary: bash
662+
args:
663+
- "${PROJECT_DIRECTORY}/.evergreen/run-snappy-version-test.sh"
664+
653665
"run bson-ext test":
654666
- command: shell.exec
655667
type: test

0 commit comments

Comments
 (0)