@@ -647,9 +647,7 @@ public void testEnsureResolvedResolvesHostMetadataWhenUnifiedHost() throws IOExc
647647 try (FixtureServer server =
648648 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
649649 DatabricksConfig config =
650- new DatabricksConfig ()
651- .setHost (server .getUrl ())
652- .setExperimentalIsUnifiedHost (true );
650+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
653651 config .resolve (emptyEnv ());
654652 assertEquals (DUMMY_ACCOUNT_ID , config .getAccountId ());
655653 assertEquals (DUMMY_WORKSPACE_ID , config .getWorkspaceId ());
@@ -674,11 +672,10 @@ public void testEnsureResolvedSkipsHostMetadataWhenNotUnified() throws IOExcepti
674672 public void testEnsureResolvedHostMetadataFailureNonFatal () throws IOException {
675673 try (FixtureServer server =
676674 new FixtureServer ()
677- .with ("GET" , "/.well-known/databricks-config" , "{\" error\" : \" internal error\" }" , 500 )) {
675+ .with (
676+ "GET" , "/.well-known/databricks-config" , "{\" error\" : \" internal error\" }" , 500 )) {
678677 DatabricksConfig config =
679- new DatabricksConfig ()
680- .setHost (server .getUrl ())
681- .setExperimentalIsUnifiedHost (true );
678+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
682679 // Should not throw — metadata failure is non-fatal
683680 config .resolve (emptyEnv ());
684681 assertNull (config .getAccountId ());
@@ -692,9 +689,7 @@ public void testEnsureResolvedHostMetadataNoOidcEndpointNonFatal() throws IOExce
692689 try (FixtureServer server =
693690 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
694691 DatabricksConfig config =
695- new DatabricksConfig ()
696- .setHost (server .getUrl ())
697- .setExperimentalIsUnifiedHost (true );
692+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
698693 config .resolve (emptyEnv ());
699694 assertEquals (DUMMY_ACCOUNT_ID , config .getAccountId ());
700695 assertNull (config .getDiscoveryUrl ());
@@ -709,9 +704,7 @@ public void testEnsureResolvedHostMetadataMissingAccountIdWithPlaceholderNonFata
709704 try (FixtureServer server =
710705 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
711706 DatabricksConfig config =
712- new DatabricksConfig ()
713- .setHost (server .getUrl ())
714- .setExperimentalIsUnifiedHost (true );
707+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
715708 config .resolve (emptyEnv ());
716709 // DiscoveryURL should not be set because account_id is empty and placeholder can't be
717710 // substituted
0 commit comments