Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 16, 2024
1 parent b1d56e6 commit 6838f97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions etc/prep-perf.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
# Prepares perf data.
set -eux
if [ -d /testdata/perf/ ]; then

if [ -d /testdata/perf/ ]; then
echo "/testdata/perf/ already exists, skipping download"
exit 0
fi

curl --retry 5 "https://s3.amazonaws.com/boxes.10gen.com/build/driver-test-data.tar.gz" -o driver-test-data.tar.gz --silent --max-time 120

if [ $(uname -s) == "Darwin" ]; then
if [ $(uname -s) == "Darwin" ]; then
tar -zxf driver-test-data.tar.gz -s /testdata/perf/
else
tar -zxf driver-test-data.tar.gz --transform=s/testdata/perf/
fi
fi
2 changes: 1 addition & 1 deletion etc/run-enterprise-plain-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -eu
. ${DRIVERS_TOOLS}/.evergreen/secrets_handling/setup-secrets.sh drivers/enterprise_auth
export MONGODB_URI="mongodb://${SASL_USER}:${SASL_PASS}@${SASL_HOST}:${SASL_PORT}/ldap?authMechanism=PLAIN"
export MONGO_GO_DRIVER_COMPRESSOR="${MONGO_GO_DRIVER_COMPRESSOR:-}"
task --silent evg-test-enterprise-auth
task --silent evg-test-enterprise-auth

0 comments on commit 6838f97

Please sign in to comment.