Skip to content

Commit a830d41

Browse files
Enable test_spog_workspace_google_credentials (databricks#1450)
## 🥞 Stacked PR Use this [link](https://github.com/databricks/databricks-sdk-py/pull/1450/files) to review incremental changes. - [**stack/hectorcastejon/enable-spog-workspace-google-credentials**](databricks#1450) [[Files changed](https://github.com/databricks/databricks-sdk-py/pull/1450/files)] --------- <!-- This template provides a recommended structure for PR descriptions. Adapt it freely — the goal is clarity, not rigid compliance. The three-section format (Summary / Why / What Changed) helps reviewers understand the change quickly and makes the PR easier to revisit later. --> ## Summary Enable test after server side issues have been fixed. ## How is this tested? N/A NO_CHANGELOG=true
1 parent b9bac64 commit a830d41

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/integration/test_unified_profile.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ def test_spog_workspace_azure_client_secret(isolated_env):
8787

8888
# Environment: gcp-prod-ucacct
8989
def test_spog_workspace_google_credentials(isolated_env):
90-
# google-credentials uses a GCP ID token with target_audience=cfg.host.
91-
# On the unified host this produces the same token for both account and workspace
92-
# requests (identical OIDC exchange, identical audience). Account-level APIs accept
93-
# this token, but workspace-level APIs return 401. The X-Databricks-Org-Id header
94-
# is set correctly. This appears to be a server-side limitation on unified hosts.
95-
pytest.skip("google-credentials ID token is rejected for workspace operations on unified hosts")
9690
env = isolated_env("ucacct")
9791
host = env("UNIFIED_HOST")
9892
account_id = env("DATABRICKS_ACCOUNT_ID")

0 commit comments

Comments
 (0)