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

Fix integration test with new DeployedWorkflows #1250

Merged
merged 4 commits into from
Apr 4, 2024

Conversation

qziyuan
Copy link
Contributor

@qziyuan qziyuan commented Apr 4, 2024

Changes

  1. Update test_installation.py integration tests with new DeployedWorkflows
  2. Speed up table migration tests by preparing test data for tables, grants, groups inventory database table to avoid crawling them from scratch which slows down the test. This fixes Test failure: test_table_migration_job_cluster_override #1245, Test failure: test_table_migration_job #1243
  3. Fix timed out test Test failure: test_migrate_managed_tables_with_principal_acl_azure #1242 , because the issue here caused infinite retry until timeout, as source table has What.EXTERNAL_SYNC but the test is trying to upgrade What. DBFS_ROOT_DELTA

Linked issues

Resolves #1242
Resolves #1245
Resolves #1243

Copy link

github-actions bot commented Apr 4, 2024

✅ 138/138 passed, 7 flaky, 20 skipped, 3h12m31s total

Flaky tests:

  • 🤪 test_delete_ws_groups_should_delete_renamed_and_reflected_groups_only (1m8.875s)
  • 🤪 test_group_name_change[matching] (2m22.622s)
  • 🤪 test_experimental_permissions_migration_for_group_with_same_name (20m19.15s)
  • 🤪 test_running_real_assessment_job (20m8.23s)
  • 🤪 test_running_real_validate_groups_permissions_job_fails (20m10.758s)
  • 🤪 test_fresh_global_installation (20m7.916s)
  • 🤪 test_global_installation_on_existing_user_install (20m9.209s)

Running from acceptance #1992

Copy link
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

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

Thank you 🙏🏻

@nfx nfx merged commit dd6b84e into main Apr 4, 2024
6 checks passed
@nfx nfx deleted the fix/deployed_workflow_tests branch April 4, 2024 07:42
ericvergnaud added a commit to ericvergnaud/ucx that referenced this pull request Apr 5, 2024
* main:
  remove `isort` (databrickslabs#1280)
  Addressed Issue with Disabled Feature in certain regions (databrickslabs#1275)
  Improve documentation (databrickslabs#1162)
  Add roadmap workflows and tasks to Table Migration Workflow document (databrickslabs#1274)
  Fix integration test with new DeployedWorkflows (databrickslabs#1250)
  Document troubleshooting guide (databrickslabs#1226)
  Split `DeployedWorkflows` out of `WorkflowsDeployment` (databrickslabs#1248)
  Inject `_TASKS` via constructor to `WorkflowsDeployment` instead of a global variable (databrickslabs#1247)
  Decouple `InstallState` from `WorkspaceDeployment` constructor
  Add document for table migration workflow (databrickslabs#1229)
  Decouple `InstallState` from `WorkflowsDeployment` constructor (databrickslabs#1246)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants