File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 48
48
fi
49
49
50
50
if [ " $AUTH " != " noauth" ]; then
51
- if [ ! -z " $TEST_DATA_LAKE " ]; then
51
+ if [ -n " $TEST_DATA_LAKE " ]; then
52
52
export DB_USER=" mhuser"
53
53
export DB_PASSWORD=" pencil"
54
- elif [ ! -z " $TEST_SERVERLESS " ]; then
55
- source ${DRIVERS_TOOLS} /.evergreen/serverless/secrets-export.sh
54
+ elif [ -n " $TEST_SERVERLESS " ]; then
55
+ source " ${DRIVERS_TOOLS} " /.evergreen/serverless/secrets-export.sh
56
56
export DB_USER=$SERVERLESS_ATLAS_USER
57
57
export DB_PASSWORD=$SERVERLESS_ATLAS_PASSWORD
58
58
export MONGODB_URI=" $SERVERLESS_URI "
59
59
echo " MONGODB_URI=$MONGODB_URI "
60
60
export SINGLE_MONGOS_LB_URI=$MONGODB_URI
61
61
export MULTI_MONGOS_LB_URI=$MONGODB_URI
62
- elif [ ! -z " $TEST_AUTH_OIDC " ]; then
62
+ elif [ -n " $TEST_AUTH_OIDC " ]; then
63
63
export DB_USER=$OIDC_ADMIN_USER
64
64
export DB_PASSWORD=$OIDC_ADMIN_PWD
65
65
export DB_IP=" $MONGODB_URI "
You can’t perform that action at this time.
0 commit comments