Skip to content

Commit 77158c5

Browse files
committed
Include extra logging in shell script
1 parent 6fe3dd1 commit 77158c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.evergreen/run-fle-on-demand-credential-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ echo "Running gradle classes compile for driver-sync and driver-reactive-streams
3232
echo "Running driver-sync tests"
3333
./gradlew -Dorg.mongodb.test.uri="${MONGODB_URI}" \
3434
-Dorg.mongodb.test.fle.on.demand.credential.test.success.enabled=true \
35-
--build-cache--stacktrace --info driver-sync:test --tests ClientSideEncryptionOnDemandCredentialsTest
35+
--build-cache --stacktrace --info driver-sync:test --tests ClientSideEncryptionOnDemandCredentialsTest
3636
first=$?
3737
echo $first
3838

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55

66
echo "Running MONGODB-OIDC authentication tests"
77
echo "OIDC_ENV $OIDC_ENV"
8-
8+
FULL_DESCRIPTION=$OIDC_ENV
99
if [ $OIDC_ENV == "test" ]; then
1010
if [ -z "$DRIVERS_TOOLS" ]; then
1111
echo "Must specify DRIVERS_TOOLS"
@@ -27,14 +27,14 @@ elif [ $OIDC_ENV == "k8s" ]; then
2727
exit 1
2828
fi
2929

30+
FULL_DESCRIPTION="${OIDC_ENV} - ${K8S_VARIANT}"
3031
# fix for git permissions issue:
3132
git config --global --add safe.directory /tmp/test
3233
else
3334
echo "Unrecognized OIDC_ENV $OIDC_ENV"
3435
exit 1
3536
fi
3637

37-
3838
if ! which java ; then
3939
echo "Installing java..."
4040
sudo apt install openjdk-17-jdk -y
@@ -52,15 +52,15 @@ ADMIN_URI=${MONGODB_URI/$TO_REPLACE/$REPLACEMENT}
5252
echo "Running gradle version"
5353
./gradlew -version
5454

55-
echo "Running gradle classes compile for driver-sync and driver-reactive-streams"
55+
echo "Running gradle classes compile for driver-sync and driver-reactive-streams: ${FULL_DESCRIPTION}"
5656
./gradlew --parallel --stacktrace --info \
5757
driver-sync:classes driver-reactive-streams:classes
5858

59-
echo "Running OIDC authentication tests against driver-sync"
59+
echo "Running OIDC authentication tests against driver-sync: ${FULL_DESCRIPTION}"
6060
./gradlew -Dorg.mongodb.test.uri="$ADMIN_URI" \
6161
--stacktrace --debug --info \
6262
driver-sync:test --tests OidcAuthenticationProseTests --tests UnifiedAuthTest
6363

64-
echo "Running OIDC authentication tests against driver-reactive-streams"
64+
echo "Running OIDC authentication tests against driver-reactive-streams: ${FULL_DESCRIPTION}"
6565
./gradlew -Dorg.mongodb.test.uri="$ADMIN_URI" \
6666
--stacktrace --debug --info driver-reactive-streams:test --tests OidcAuthenticationAsyncProseTests

0 commit comments

Comments
 (0)