ucx icon indicating copy to clipboard operation
ucx copied to clipboard

[TECH DEBT] Add workaround for skipped legacy dashboard related tests

Open pritishpai opened this issue 9 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Problem statement

A quick skip fix is added to the tests that contain creation of legacy dashboards after its deprecation from the product. Some of the tests could include a workaround to skip the dashboard creation.

Tests that can be modified: test_legacy_query_dfsa_ownership test_query_linter_lints_queries_and_stores_dfsas_and_tables

#4009

Proposed Solution

Modify the skipped tests by adding a workaround for Legacy Dashboard creation.

Additional Context

No response

pritishpai avatar Apr 23 '25 17:04 pritishpai

Retaining removed code here from tests.integration.conftest.MockRuntimeContext.make_linting_resources as pylint complains about commented code. query_1 = self.make_query(sql_query="SELECT * from parquet.dbfs://mnt/foo2/bar2") self.make_dashboard(query=query_1)

pritishpai avatar Apr 24 '25 13:04 pritishpai