@@ -601,9 +601,7 @@ public void testEnsureResolvedResolvesHostMetadataWhenUnifiedHost() throws IOExc
601601 try (FixtureServer server =
602602 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
603603 DatabricksConfig config =
604- new DatabricksConfig ()
605- .setHost (server .getUrl ())
606- .setExperimentalIsUnifiedHost (true );
604+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
607605 config .resolve (emptyEnv ());
608606 assertEquals (DUMMY_ACCOUNT_ID , config .getAccountId ());
609607 assertEquals (DUMMY_WORKSPACE_ID , config .getWorkspaceId ());
@@ -628,11 +626,10 @@ public void testEnsureResolvedSkipsHostMetadataWhenNotUnified() throws IOExcepti
628626 public void testEnsureResolvedHostMetadataFailureNonFatal () throws IOException {
629627 try (FixtureServer server =
630628 new FixtureServer ()
631- .with ("GET" , "/.well-known/databricks-config" , "{\" error\" : \" internal error\" }" , 500 )) {
629+ .with (
630+ "GET" , "/.well-known/databricks-config" , "{\" error\" : \" internal error\" }" , 500 )) {
632631 DatabricksConfig config =
633- new DatabricksConfig ()
634- .setHost (server .getUrl ())
635- .setExperimentalIsUnifiedHost (true );
632+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
636633 // Should not throw — metadata failure is non-fatal
637634 config .resolve (emptyEnv ());
638635 assertNull (config .getAccountId ());
@@ -646,9 +643,7 @@ public void testEnsureResolvedHostMetadataNoOidcEndpointNonFatal() throws IOExce
646643 try (FixtureServer server =
647644 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
648645 DatabricksConfig config =
649- new DatabricksConfig ()
650- .setHost (server .getUrl ())
651- .setExperimentalIsUnifiedHost (true );
646+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
652647 config .resolve (emptyEnv ());
653648 assertEquals (DUMMY_ACCOUNT_ID , config .getAccountId ());
654649 assertNull (config .getDiscoveryUrl ());
@@ -663,9 +658,7 @@ public void testEnsureResolvedHostMetadataMissingAccountIdWithPlaceholderNonFata
663658 try (FixtureServer server =
664659 new FixtureServer ().with ("GET" , "/.well-known/databricks-config" , response , 200 )) {
665660 DatabricksConfig config =
666- new DatabricksConfig ()
667- .setHost (server .getUrl ())
668- .setExperimentalIsUnifiedHost (true );
661+ new DatabricksConfig ().setHost (server .getUrl ()).setExperimentalIsUnifiedHost (true );
669662 config .resolve (emptyEnv ());
670663 // DiscoveryURL should not be set because account_id is empty and placeholder can't be
671664 // substituted
0 commit comments