SERVER-109515 Disable oidc_e2e_azure_machine tests (#40737)

GitOrigin-RevId: 7c8b8a778ee3aa99c686884f74eb380d2ba47830
This commit is contained in:
adriangzz 2025-09-02 10:17:11 -04:00 committed by MongoDB Bot
parent b739801eea
commit 6117f155a3
3 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,9 @@
test_kind: js_test test_kind: js_test
selector: selector:
exclude_files:
# TODO: SERVER-109999 Remove this line.
- src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/oidc_e2e_azure_machine.js
roots: roots:
- src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/*.js - src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/*.js

View File

@ -44,4 +44,5 @@ ls -al $HOME/azure_remote_key
# This script enables ingress on the Azure Container App instance that we will use to obtain our managed identity token, # This script enables ingress on the Azure Container App instance that we will use to obtain our managed identity token,
# restrict ingress to the local, publicly-facing IP of the host we are running on, and then output the hostname of the container app into a local file # restrict ingress to the local, publicly-facing IP of the host we are running on, and then output the hostname of the container app into a local file
# so that it can be dynamically consumed by subsequent test steps (such as get_token.py) # so that it can be dynamically consumed by subsequent test steps (such as get_token.py)
python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py enable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock | tee $HOME/azure_remote_host # TODO: SERVER-109999 Uncomment or remove the following.
# python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py enable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock | tee $HOME/azure_remote_host

View File

@ -18,7 +18,8 @@ if [ -f "${HOME}/oidc_azure_container_key" ]; then
echo "Cleaned up container key" echo "Cleaned up container key"
fi fi
python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py disable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock # TODO: SERVER-109999 Uncomment or remove this line.
# python src/mongo/db/modules/enterprise/jstests/external_auth_oidc_azure/lib/toggle_ingress.py disable --config_file=$HOME/azure_e2e_config.json --lock_file=/tmp/azure_oidc.lock
# Clean up the config file, if it exists # Clean up the config file, if it exists
if [ -f "${HOME}/azure_e2e_config.json" ]; then if [ -f "${HOME}/azure_e2e_config.json" ]; then