@@ -99,7 +99,7 @@ func TestEnrichAuthError(t *testing.T) {
9999 "\n Host: https://my-workspace.cloud.databricks.com" +
100100 "\n Auth type: Personal Access Token (pat)" +
101101 "\n \n Next steps:" +
102- "\n - Regenerate your access token or run: databricks configure --profile dev" +
102+ "\n - Regenerate your access token or run: databricks auth login --profile dev" +
103103 "\n - Check your identity: databricks auth describe --profile dev" ,
104104 },
105105 {
@@ -147,7 +147,7 @@ func TestEnrichAuthError(t *testing.T) {
147147 "\n Host: https://my-workspace.cloud.databricks.com" +
148148 "\n Auth type: Basic" +
149149 "\n \n Next steps:" +
150- "\n - Check your username/password or run: databricks configure --profile basic-profile" +
150+ "\n - Check your username/password or run: databricks auth login --profile basic-profile" +
151151 "\n - Check your identity: databricks auth describe --profile basic-profile" ,
152152 },
153153 {
@@ -195,7 +195,7 @@ func TestEnrichAuthError(t *testing.T) {
195195 "\n \n Next steps:" +
196196 "\n - Regenerate your access token" +
197197 "\n - Check your identity: databricks auth describe" +
198- "\n - Consider configuring a profile: databricks configure --profile <name>" ,
198+ "\n - Consider setting up a profile: databricks auth login --profile <name>" ,
199199 },
200200 {
201201 name : "403 without profile (env var auth)" ,
@@ -210,7 +210,7 @@ func TestEnrichAuthError(t *testing.T) {
210210 "\n \n Next steps:" +
211211 "\n - Verify you have the required permissions for this operation" +
212212 "\n - Check your identity: databricks auth describe" +
213- "\n - Consider configuring a profile: databricks configure --profile <name>" ,
213+ "\n - Consider setting up a profile: databricks auth login --profile <name>" ,
214214 },
215215 {
216216 name : "401 with account host and no profile" ,
@@ -226,7 +226,7 @@ func TestEnrichAuthError(t *testing.T) {
226226 "\n \n Next steps:" +
227227 "\n - Re-authenticate: databricks auth login --host https://accounts.cloud.databricks.com --account-id abc123" +
228228 "\n - Check your identity: databricks auth describe" +
229- "\n - Consider configuring a profile: databricks configure --profile <name>" ,
229+ "\n - Consider setting up a profile: databricks auth login --profile <name>" ,
230230 },
231231 {
232232 name : "401 with unified host includes workspace-id in login" ,
@@ -244,7 +244,7 @@ func TestEnrichAuthError(t *testing.T) {
244244 "\n \n Next steps:" +
245245 "\n - Re-authenticate: databricks auth login --host https://unified.cloud.databricks.com --account-id acc-123 --experimental-is-unified-host --workspace-id ws-456" +
246246 "\n - Check your identity: databricks auth describe" +
247- "\n - Consider configuring a profile: databricks configure --profile <name>" ,
247+ "\n - Consider setting up a profile: databricks auth login --profile <name>" ,
248248 },
249249 }
250250
0 commit comments