Skip to content

Commit 3533b65

Browse files
committed
Test
1 parent 6e71a0d commit 3533b65

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
restore-keys: ${{ runner.os }}-m2
5555

5656
- name: Check Unit Tests
57-
run: mvn --errors test
57+
run: chmod 777 databricks-sdk-java/src/test/resources/testdata/az2 && mvn --errors test
5858

databricks-sdk-java/src/main/java/com/databricks/sdk/core/AzureCliCredentialsProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public CliTokenSource tokenSourceFor(DatabricksConfig config, String resource) {
2222
List<String> cmd =
2323
new ArrayList<>(
2424
Arrays.asList(
25-
"az", "account", "get-access-token", "--resource", resource, "--output", "json"));
25+
"az2", "account", "get-access-token", "--resource", resource, "--output", "json"));
2626
Optional<String> subscription = getSubscription(config);
2727
if (subscription.isPresent()) {
2828
// This will fail if the user has access to the workspace, but not to the subscription

0 commit comments

Comments
 (0)