| 1 |
#!/usr/bin/env bash |
| 2 |
# run-atlas-test |
| 3 |
# Run atlas connectivity tests. |
| 4 |
set -eu |
| 5 |
set +x |
| 6 |
|
| 7 |
# Get the atlas secrets. |
| 8 |
. ${DRIVERS_TOOLS}/.evergreen/secrets_handling/setup-secrets.sh drivers/atlas_connect |
| 9 |
|
| 10 |
echo "Running cmd/testatlas" |
| 11 |
go test -v -run ^TestAtlas$ go.mongodb.org/mongo-driver/cmd/testatlas -args "$ATLAS_REPL" "$ATLAS_SHRD" "$ATLAS_FREE" "$ATLAS_TLS11" "$ATLAS_TLS12" "$ATLAS_SERVERLESS" "$ATLAS_SRV_REPL" "$ATLAS_SRV_SHRD" "$ATLAS_SRV_FREE" "$ATLAS_SRV_TLS11" "$ATLAS_SRV_TLS12" "$ATLAS_SRV_SERVERLESS" >> test.suite |