Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Oct 17, 2024
1 parent 6e71a0d commit 5caba46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
restore-keys: ${{ runner.os }}-m2

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

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public CliTokenSource tokenSourceFor(DatabricksConfig config, String resource) {
List<String> cmd =
new ArrayList<>(
Arrays.asList(
"az", "account", "get-access-token", "--resource", resource, "--output", "json"));
"az2", "account", "get-access-token", "--resource", resource, "--output", "json"));
Optional<String> subscription = getSubscription(config);
if (subscription.isPresent()) {
// This will fail if the user has access to the workspace, but not to the subscription
Expand Down

0 comments on commit 5caba46

Please sign in to comment.