Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ axes:
display_name: "latest"
variables:
MONGODB_VERSION: "latest"
- id: "4.4"
display_name: "4.4"
variables:
# Until 4.4.0 RC0 ships, we use 4.3.x versions.
MONGODB_VERSION: "4.3"
- id: "4.2"
display_name: "4.2"
variables:
Expand Down Expand Up @@ -651,11 +656,11 @@ buildvariants:
tasks:
- name: "test-mlaunch"

- matrix_name: "mongo-latest"
- matrix_name: "mongo-4.4"
matrix_spec:
auth-and-ssl: ["auth-and-ssl", "noauth-and-nossl"]
ruby: "ruby-2.7"
mongodb-version: latest
mongodb-version: '4.4'
topology: "*"
os: ubuntu1604
display_name: "${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
Expand All @@ -666,7 +671,7 @@ buildvariants:
matrix_spec:
auth-and-ssl: ["auth-and-ssl", "noauth-and-nossl"]
ruby: "ruby-2.6"
mongodb-version: ['4.0', '4.2', latest]
mongodb-version: ['4.0', '4.2', '4.4']
topology: "sharded-cluster"
single-mongos: single-mongos
os: ubuntu1604
Expand Down Expand Up @@ -877,12 +882,12 @@ buildvariants:
tasks:
- name: "test-fle"

- matrix_name: "fle-latest"
- matrix_name: "fle-4.4"
matrix_spec:
auth-and-ssl: "noauth-and-nossl"
ruby: [ruby-2.7]
topology: standalone
mongodb-version: [latest]
mongodb-version: ['4.4']
os: rhel70
fle: fle
display_name: "FLE: ${mongodb-version} ${ruby}"
Expand Down
3 changes: 2 additions & 1 deletion .evergreen/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ prepare_server() {
if test $MONGODB_VERSION = latest; then
# Test on the most recent published 4.3 release.
# https://jira.mongodb.org/browse/RUBY-1724
download_version=4.3
echo 'Using "latest" server is not currently implemented' 1>&2
exit 1
else
download_version=$MONGODB_VERSION
fi
Expand Down
3 changes: 3 additions & 0 deletions .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export dbdir="$MONGO_ORCHESTRATION_HOME"/db
mkdir -p "$dbdir"

mongo_version=`echo $MONGODB_VERSION |tr -d .`
if test $mongo_version = latest; then
mongo_version=44
fi

args="--setParameter enableTestCommands=1"
# diagnosticDataCollectionEnabled is a mongod-only parameter on server 3.2,
Expand Down