Bugfix: test_delete_ws_groups_should_delete_renamed_and_reflected_groups_only#2541
Merged
Bugfix: test_delete_ws_groups_should_delete_renamed_and_reflected_groups_only#2541
test_delete_ws_groups_should_delete_renamed_and_reflected_groups_only#2541Conversation
The 0.32.0 release of the Databricks SDK has changed the message attached to the error (probably a bug) which causes this test to (incorrectly) fail.
|
✅ 104/104 passed, 1 skipped, 1h43m5s total Running from acceptance #5559 |
This was referenced Sep 9, 2024
nfx
pushed a commit
that referenced
this pull request
Sep 10, 2024
## Changes This PR updates an integration test that has started failing since the Databricks 0.32.0 release. In this test we check the error message associated with an expected failure, but the message changed with the new version of the SDK so the test now fails. ### Linked issues Relates to #2541, affects #2546. Resolves #2538. Triggered by upstream databricks/databricks-sdk-py#749. ### Tests - updated integration test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR updates an integration test that started failing after the Databricks 0.32.0 release. In this test we check the error message associated with an expected failure, but the message changed with the new version of the SDK so the test now fails.
Note: This is probably a bug introduced in the upstream SDK release. For a call to
ws.groups.get(id)where the ID doesn't exist:Group with id $ID not found.None request failedLinked issues
Resolves #2539.
Tests