Skip to content

Commit c9fb324

Browse files
authored
[Internal] Fix nightly test failure (#339)
## Changes `getWorkspaceClient()` clears the account ID from the config, but `resolve()` may load it again if the account ID is part of the selected .databrickscfg profile or an environment variable (which it is in our integration tests). ## Tests <!-- How is this tested? -->
1 parent 248d0bb commit c9fb324

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

databricks-sdk-java/src/test/java/com/databricks/sdk/core/DatabricksConfigTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,5 @@ public void testNewWithWorkspaceHost() {
155155
assert newWorkspaceConfig.getAuthType().equals("oauth-m2m");
156156
assert newWorkspaceConfig.getClientId().equals("my-client-id");
157157
assert newWorkspaceConfig.getClientSecret().equals("my-client-secret");
158-
assert newWorkspaceConfig.getAccountId() == null;
159158
}
160159
}

0 commit comments

Comments
 (0)