Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] Fix get_workspace_client test to match Go SDK behavior #738

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

mgyucht
Copy link
Contributor

@mgyucht mgyucht commented Aug 28, 2024

Changes

The current get_workspace_client test fails because the SP used by the test does not have access to the first workspace listed. In the Go & Java SDKs, the corresponding test respects the TEST_WORKSPACE_ID environment variable to know which workspace to attempt to login to. This PR changes the test to use that environment variable as well.

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

@mgyucht mgyucht requested a review from parthban-db August 28, 2024 08:27
@mgyucht mgyucht enabled auto-merge August 28, 2024 08:54
@mgyucht mgyucht added this pull request to the merge queue Aug 28, 2024
Merged via the queue into main with commit 4597c36 Aug 28, 2024
14 checks passed
@mgyucht mgyucht deleted the fix-integration-tests-08-28-2024 branch August 28, 2024 09:16
mgyucht added a commit that referenced this pull request Aug 28, 2024
### Bug Fixes

 * Fix `DatabricksConfig.copy` when authenticated with OAuth ([#723](#723)).

### Internal Changes

 * Fix get_workspace_client test to match Go SDK behavior ([#738](#738)).
 * Verify that `WorkspaceClient` created from `AccountClient` does actually work through integration tests ([#736](#736)).
github-merge-queue bot pushed a commit that referenced this pull request Aug 28, 2024
### Bug Fixes

* Fix `DatabricksConfig.copy` when authenticated with OAuth
([#723](#723)).


### Internal Changes

* Fix get_workspace_client test to match Go SDK behavior
([#738](#738)).
* Verify that `WorkspaceClient` created from `AccountClient` does
actually work through integration tests
([#736](#736)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants