From 007a714750ee2347728a85ff86d45c49b6fdf835 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 3 Mar 2025 19:56:29 +0100 Subject: [PATCH] - --- acceptance/bundle/exec/databricks-cli/target-is-passed/script | 2 +- acceptance/bundle/exec/no-auth/script | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/acceptance/bundle/exec/databricks-cli/target-is-passed/script b/acceptance/bundle/exec/databricks-cli/target-is-passed/script index 9d2eb2fe7..238c36ae4 100644 --- a/acceptance/bundle/exec/databricks-cli/target-is-passed/script +++ b/acceptance/bundle/exec/databricks-cli/target-is-passed/script @@ -10,6 +10,6 @@ trace $CLI bundle exec -t pat -- $CLI current-user me trace errcode $CLI bundle exec -t pat -- $CLI current-user me -t oauth # Explicitly select oauth target -export DATABRICKS_TOKEN="" +unset DATABRICKS_TOKEN export DATABRICKS_CLIENT_SECRET="client_secret" trace $CLI bundle exec -t oauth -- $CLI current-user me diff --git a/acceptance/bundle/exec/no-auth/script b/acceptance/bundle/exec/no-auth/script index 0378ab266..a1758ce99 100644 --- a/acceptance/bundle/exec/no-auth/script +++ b/acceptance/bundle/exec/no-auth/script @@ -4,5 +4,4 @@ unset DATABRICKS_TOKEN # Confirm that bundle exec works for commands that do not require authentication, # even if authentication is not provided. trace $CLI bundle exec -- echo hello - trace $CLI bundle exec -- pwd