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

Adds existing fixtures to context and change usages accordingly #3437

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

pritishpai
Copy link
Contributor

@pritishpai pritishpai commented Dec 11, 2024

Changes

Add fixtures to context and change usages accordingly

Linked issues

Resolves #3428 and #3429

Functionality

  • refactored tests

Tests

  • use existing integration tests

@pritishpai pritishpai requested a review from a team as a code owner December 11, 2024 18:27
Copy link

github-actions bot commented Dec 11, 2024

✅ 65/65 passed, 1 flaky, 3 skipped, 1h9m30s total

Flaky tests:

  • 🤪 test_running_real_migrate_groups_job (3m54.594s)

Running from acceptance #7820

@pritishpai
Copy link
Contributor Author

The pylint disable is unavoidable here as we are adding more fixtures to the context.

Copy link
Member

@JCZuurmond JCZuurmond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM; have another request. See #3429 (not much context there though)

tests/integration/workspace_access/test_workflows.py Outdated Show resolved Hide resolved
@JCZuurmond
Copy link
Member

The pylint disable is unavoidable here as we are adding more fixtures to the context.

@gueniai can bypass the CI to circumvent the "no-cheat" one. (After we reviewed and approved the code.)

@JCZuurmond JCZuurmond added the internal this pull request won't appear in release notes label Dec 12, 2024
github-merge-queue bot pushed a commit that referenced this pull request Dec 13, 2024
## Changes
Exclude TACL migration in table migration integration tests because
these were not asserted, and to speed up the tests and reduce flakiness

### Linked issues

Attempt to reduce flakiness blocking CI in #3239
Similar to #3437 in the sense that both PR scope integration tests to a
smaller set of resources

### Tests

- [x] modified integration tests
Copy link
Member

@JCZuurmond JCZuurmond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

tests/integration/conftest.py Outdated Show resolved Hide resolved
tests/integration/conftest.py Outdated Show resolved Hide resolved
Copy link
Member

@JCZuurmond JCZuurmond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, before merging make sure to run the full integration test suite for your branch as these changes effect many tests:

  1. Go to https://github.com/databrickslabs/ucx/actions/workflows/nightly.yml
  2. Use the "Run workflow" drop down
  3. Select your branch
  4. Run the CI

@pritishpai
Copy link
Contributor Author

Nightly passed on 2nd attempt https://github.com/databrickslabs/ucx/actions/runs/12435607581

The pylint disable is unavoidable here as we are adding more fixtures to the context.

@gueniai can bypass the CI to circumvent the "no-cheat" one. (After we reviewed and approved the code.)

@gueniai need your approval to bypass the "no-check" check

@pritishpai pritishpai enabled auto-merge December 20, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal this pull request won't appear in release notes
Projects
Status: Ready for Review
Development

Successfully merging this pull request may close these issues.

[TODO] Move make_secret_scope and make_secret_scope_acl to context like other make_ methods
2 participants