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 @@ -6,11 +6,11 @@ set -o errexit # Exit the script with error if any of the commands fail
66set -o xtrace # For debuggability, no external credentials are used here
77
88function setup_fle() {
9+ source .evergreen/setup-fle.sh
10+
911 set -o xtrace # Write all commands first to stderr
1012 set -o errexit # Exit the script with error if any of the commands fail
1113
12- source .evergreen/setup-fle.sh
13-
1414 export CSFLE_TLS_CA_FILE=" ${DRIVERS_TOOLS} /.evergreen/x509gen/ca.pem"
1515 export CSFLE_TLS_CLIENT_CERT_FILE=" ${DRIVERS_TOOLS} /.evergreen/x509gen/client.pem"
1616 export TEST_CSFLE=true
4747" $PYTHON_BINARY " " $SOCKS5_SERVER_SCRIPT " --port 1080 --auth username:p4ssw0rd --map " 127.0.0.1:12345 to $FIRST_HOST " &
4848SOCKS5_PROXY_PID=$!
4949if [[ $TEST_SOCKS5_CSFLE == " true" ]]; then
50- [ " $SSL " ! = " nossl" ] && [[ " $OSTYPE " == " linux-gnu" * ]] &&
50+ [ " $SSL " = = " nossl" ] && [[ " $OSTYPE " == " linux-gnu" * ]] &&
5151 env MONGODB_URI=' mongodb://127.0.0.1:12345/?proxyHost=127.0.0.1&proxyUsername=username&proxyPassword=p4ssw0rd' \
5252 npm run check:csfle
5353else
@@ -59,7 +59,7 @@ kill $SOCKS5_PROXY_PID
5959" $PYTHON_BINARY " " $SOCKS5_SERVER_SCRIPT " --port 1081 --map " 127.0.0.1:12345 to $FIRST_HOST " &
6060SOCKS5_PROXY_PID=$!
6161if [[ $TEST_SOCKS5_CSFLE == " true" ]]; then
62- [ " $SSL " ! = " nossl" ] && [[ " $OSTYPE " == " linux-gnu" * ]] &&
62+ [ " $SSL " = = " nossl" ] && [[ " $OSTYPE " == " linux-gnu" * ]] &&
6363 env MONGODB_URI=' mongodb://127.0.0.1:12345/?proxyHost=127.0.0.1&proxyPort=1081' \
6464 npm run check:csfle
6565else
You can’t perform that action at this time.
0 commit comments