We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e3552 commit ab1772fCopy full SHA for ab1772f
.evergreen/scripts/teardown_tests.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import os
4
+import sys
5
6
from utils import DRIVERS_TOOLS, LOGGER, run_command
7
@@ -24,7 +25,9 @@
24
25
teardown_kms(SUB_TEST_NAME)
26
27
# Tear down auth_aws if applicable.
-elif TEST_NAME == "auth_aws":
28
+# We do not run web-identity hosts on macos, because the hosts lack permissions,
29
+# so there is no reason to run the teardown, which would error with a 401.
30
+elif TEST_NAME == "auth_aws" and sys.platform != "darwin":
31
run_command(f"bash {DRIVERS_TOOLS}/.evergreen/auth_aws/teardown.sh")
32
33
LOGGER.info(f"Tearing down tests of type '{TEST_NAME}'... done.")
0 commit comments