From 31360440e4fdfef4a0291dd0700e431ea8d0d5a8 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 27 Feb 2025 19:40:45 +0100 Subject: [PATCH] fix on ubuntu --- acceptance/cmd/auth/describe/profile/output.txt | 2 +- acceptance/cmd/auth/describe/profile/test.toml | 3 +++ acceptance/cmd/auth/describe/profile_with_bundle/output.txt | 2 +- acceptance/cmd/auth/describe/profile_with_bundle/test.toml | 4 ++++ 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 acceptance/cmd/auth/describe/profile/test.toml diff --git a/acceptance/cmd/auth/describe/profile/output.txt b/acceptance/cmd/auth/describe/profile/output.txt index 3a158e575..4e638331f 100644 --- a/acceptance/cmd/auth/describe/profile/output.txt +++ b/acceptance/cmd/auth/describe/profile/output.txt @@ -1,6 +1,6 @@ >>> [CLI] auth describe -Unable to authenticate: Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": dial tcp: lookup non-existing-subdomain.databricks.com: no such host +Unable to authenticate: Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": (redacted) ----- Current configuration: ✓ host: https://non-existing-subdomain.databricks.com (from .databrickscfg config file) diff --git a/acceptance/cmd/auth/describe/profile/test.toml b/acceptance/cmd/auth/describe/profile/test.toml new file mode 100644 index 000000000..52cccb8f9 --- /dev/null +++ b/acceptance/cmd/auth/describe/profile/test.toml @@ -0,0 +1,3 @@ +[[Repls]] +Old='Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": .*' +New='Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": (redacted)' diff --git a/acceptance/cmd/auth/describe/profile_with_bundle/output.txt b/acceptance/cmd/auth/describe/profile_with_bundle/output.txt index 7be84a3ab..6e85f1883 100644 --- a/acceptance/cmd/auth/describe/profile_with_bundle/output.txt +++ b/acceptance/cmd/auth/describe/profile_with_bundle/output.txt @@ -1,6 +1,6 @@ >>> [CLI] auth describe -Unable to authenticate: Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": dial tcp: lookup non-existing-subdomain.databricks.com: no such host +Unable to authenticate: Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": (redacted) ----- Current configuration: ✓ profile: myprofile (from bundle) diff --git a/acceptance/cmd/auth/describe/profile_with_bundle/test.toml b/acceptance/cmd/auth/describe/profile_with_bundle/test.toml index 65a51ca71..4f011b070 100644 --- a/acceptance/cmd/auth/describe/profile_with_bundle/test.toml +++ b/acceptance/cmd/auth/describe/profile_with_bundle/test.toml @@ -1 +1,5 @@ Badness = "The profile is coming from the environment variable, not the bundle. This is a bug because auth describe attributes it to the bundle." + +[[Repls]] +Old='Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": .*' +New='Get "https://non-existing-subdomain.databricks.com/api/2.0/preview/scim/v2/Me": (redacted)'