Skip to content

Commit 2084d0d

Browse files
authored
DRIVERS-1279 update matrix spec for mongodb-aws (#549)
Update matrix spec for MONGODB-AWS tests * test against both 4.4 and latest * test against both Java 8 and 11
1 parent da9f7ce commit 2084d0d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.evergreen/.evg.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ functions:
329329
type: test
330330
params:
331331
working_dir: "src"
332-
silent: true
333332
script: |
334333
cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
335334
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"'
@@ -1069,8 +1068,8 @@ buildvariants:
10691068
- name: "plain-auth-test"
10701069

10711070
- matrix_name: "aws-auth-test"
1072-
matrix_spec: { jdk: "jdk11" }
1073-
display_name: "MONGODB-AWS Auth test"
1071+
matrix_spec: { ssl: "nossl", jdk: ["jdk8", "jdk11"], version: ["4.4", "latest"], os: "ubuntu" }
1072+
display_name: "MONGODB-AWS Auth test ${version} ${jdk}"
10741073
run_on: ubuntu1804-test
10751074
tasks:
10761075
- name: "aws-auth-test"

.evergreen/run-mongodb-aws-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ JDK=${JDK:-jdk11}
1515

1616
echo "Running MONGODB-AWS authentication tests"
1717

18-
export JAVA_HOME="/opt/java/${JDK}"
18+
export JAVA_HOME="/opt/java/jdk11"
1919

2020
# ensure no secrets are printed in log files
2121
set +x
@@ -35,4 +35,4 @@ set -x
3535

3636
echo "Running tests with ${JDK}"
3737
./gradlew -version
38-
./gradlew -PjdkHome=${JAVA_HOME} -Dorg.mongodb.test.uri=${MONGODB_URI} --stacktrace --debug --info driver-core:test --tests AwsAuthenticationSpecification
38+
./gradlew -PjdkHome=/opt/java/${JDK} -Dorg.mongodb.test.uri=${MONGODB_URI} --stacktrace --debug --info driver-core:test --tests AwsAuthenticationSpecification

0 commit comments

Comments
 (0)