Skip to content

Commit 7770cac

Browse files
committed
finish logic
1 parent c6bceb3 commit 7770cac

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ def handle_test_env() -> None:
177177
env["MONGODB_VERSION"] = "7.0"
178178
env["LAMBDA_STACK_NAME"] = "dbx-python-lambda"
179179
write_env("LAMBDA_STACK_NAME", env["LAMBDA_STACK_NAME"])
180-
# run_command(f"bash {DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh", env=env, cwd=DRIVERS_TOOLS)
180+
run_command(
181+
f"bash {DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh",
182+
env=env,
183+
cwd=DRIVERS_TOOLS,
184+
)
181185

182186
if test_name == "index_management":
183187
AUTH = "auth"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ expansion.yml
3131

3232
# Lambda temp files
3333
test/lambda/.aws-sam
34-
test/lambda/env.json
3534
test/lambda/mongodb/pymongo/*
3635
test/lambda/mongodb/gridfs/*
3736
test/lambda/mongodb/bson/*
37+
test/lambda/*.json
3838

3939
# test results and logs
4040
xunit-results/

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ the pages will re-render and the browser will automatically refresh.
248248
- Run the tests with `just run-tests`.
249249

250250
The supported types are [`default`, `azure`, `gcp`, `eks`, `aks`, and `gke`].
251+
For the `eks` test, you will need to set up access to the `drivers-test-secrets-role`, see the [Wiki](https://wiki.corp.mongodb.com/spaces/DRIVERS/pages/239737385/Using+AWS+Secrets+Manager+to+Store+Testing+Secrets).
251252

252253
### KMS tests
253254

@@ -283,6 +284,8 @@ Note: these tests can only be run from an Evergreen host.
283284

284285
### AWS Lambda tests
285286

287+
You will need to set up access to the `drivers-test-secrets-role`, see the [Wiki](https://wiki.corp.mongodb.com/spaces/DRIVERS/pages/239737385/Using+AWS+Secrets+Manager+to+Store+Testing+Secrets).
288+
286289
- Run `just setup-tests aws_lambda`.
287290
- Run `just run-tests`.
288291

0 commit comments

Comments
 (0)