Skip to content

Commit

Permalink
disable $DATABRICKS_AUTH_TYPE and add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
denik committed Dec 20, 2024
1 parent b290678 commit 3c2bb4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/testcli/golden.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ type ReplacementsContext struct {
}

func (r *ReplacementsContext) Replace(s string) string {
// QQQ Should probably only replace whole words
for _, repl := range r.Repls {
s = strings.ReplaceAll(s, repl.Old, repl.New)
}
Expand Down Expand Up @@ -181,7 +182,8 @@ func PrepareReplacements(t testutil.TestingT, r *ReplacementsContext, w *databri
r.Set(w.Config.ClientID, "$DATABRICKS_CLIENT_ID")
r.Set(w.Config.ClientSecret, "$DATABRICKS_CLIENT_SECRET")
r.Set(w.Config.DatabricksCliPath, "$DATABRICKS_CLI_PATH")
r.Set(w.Config.AuthType, "$DATABRICKS_AUTH_TYPE")
// This is set to words like "path" that happen too frequently
//r.Set(w.Config.AuthType, "$DATABRICKS_AUTH_TYPE")
}

func PrepareReplacementsUser(t testutil.TestingT, r *ReplacementsContext, u iam.User) {
Expand Down

0 comments on commit 3c2bb4e

Please sign in to comment.