ucx icon indicating copy to clipboard operation
ucx copied to clipboard

Creating performance test to validate UCX at scale

Open william-conti opened this issue 2 years ago • 2 comments

This pull request introduces new methods in the Makefile for running performance tests. It also adds a new test suite for performance in the tests/performance directory, including a conftest.py file for setting up fixtures and test_performance.py for running performance tests. The changes related to tests include creating and configuring various Databricks objects such as groups, pipelines, jobs, experiments, models, pools, warehouses, clusters, policies, queries, alerts, scopes, dashboards, repos, directories, and notebooks, and then verifying the successful creation and assignment of permissions for these objects. The performance tests measure the time taken to create and configure these objects and save the results in a SQL database for further analysis.

  • [ ] Populate 1k groups in workspace / account
  • [ ] Populate objects in scope of group migration
  • [ ] Verify and Identify any failure creation - at this stage it should not fail, but it has to be captured
  • [ ] Run assessment / group migration
  • [ ] Compare before/after group migration

william-conti avatar Nov 20 '23 10:11 william-conti

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.82%. Comparing base (e1b7a27) to head (257dc3b). Report is 367 commits behind head on main.

:exclamation: Current head 257dc3b differs from pull request most recent head 5e246da. Consider uploading reports for the commit 5e246da to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #607      +/-   ##
==========================================
+ Coverage   78.60%   82.82%   +4.21%     
==========================================
  Files          41       35       -6     
  Lines        4272     3493     -779     
  Branches      800      650     -150     
==========================================
- Hits         3358     2893     -465     
+ Misses        711      454     -257     
+ Partials      203      146      -57     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Nov 20 '23 10:11 codecov[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 27 '23 20:11 CLAassistant

closing this PR as the last time it had commit was 7 months ago.

nfx avatar Jul 02 '24 19:07 nfx