Skip to content

Fix Databricks provider tests#48877

Merged
kaxil merged 1 commit into
apache:mainfrom
astronomer:fix-databricks
Apr 7, 2025
Merged

Fix Databricks provider tests#48877
kaxil merged 1 commit into
apache:mainfrom
astronomer:fix-databricks

Conversation

@kaxil

@kaxil kaxil commented Apr 7, 2025

Copy link
Copy Markdown
Member

#46704 added changes but the tests were failing

=========================== short test summary info ============================
FAILED providers/databricks/tests/unit/databricks/plugins/test_databricks_workflow.py::test_repair_task_with_params - AssertionError: expected call not found.
Expected: repair_run({'run_id': 12345, 'rerun_tasks': ['task1', 'task2'], 'overriding_parameters': {'key1': 'value1', 'key2': 'value2'}})
Actual: repair_run({'run_id': 12345, 'latest_repair_id': 100, 'rerun_tasks': ['task1', 'task2'], 'key1': 'value1', 'key2': 'value2'})
====== 1 failed, 6631 passed, 122 skipped, 1 warning in 793.11s (0:13:13) ======

https://github.com/apache/airflow/actions/runs/14309323849/job/40100685431?


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

apache#46704 added changes but the tests were failing

```
=========================== short test summary info ============================
FAILED providers/databricks/tests/unit/databricks/plugins/test_databricks_workflow.py::test_repair_task_with_params - AssertionError: expected call not found.
Expected: repair_run({'run_id': 12345, 'rerun_tasks': ['task1', 'task2'], 'overriding_parameters': {'key1': 'value1', 'key2': 'value2'}})
Actual: repair_run({'run_id': 12345, 'latest_repair_id': 100, 'rerun_tasks': ['task1', 'task2'], 'key1': 'value1', 'key2': 'value2'})
====== 1 failed, 6631 passed, 122 skipped, 1 warning in 793.11s (0:13:13) ======

```

https://github.com/apache/airflow/actions/runs/14309323849/job/40100685431?
@kaxil

kaxil commented Apr 7, 2025

Copy link
Copy Markdown
Member Author

cc @gpadavala

@kaxil
kaxil merged commit 6591506 into apache:main Apr 7, 2025
@kaxil
kaxil deleted the fix-databricks branch April 7, 2025 14:54
simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
apache#46704 added changes but the tests were failing

```
=========================== short test summary info ============================
FAILED providers/databricks/tests/unit/databricks/plugins/test_databricks_workflow.py::test_repair_task_with_params - AssertionError: expected call not found.
Expected: repair_run({'run_id': 12345, 'rerun_tasks': ['task1', 'task2'], 'overriding_parameters': {'key1': 'value1', 'key2': 'value2'}})
Actual: repair_run({'run_id': 12345, 'latest_repair_id': 100, 'rerun_tasks': ['task1', 'task2'], 'key1': 'value1', 'key2': 'value2'})
====== 1 failed, 6631 passed, 122 skipped, 1 warning in 793.11s (0:13:13) ======

```

https://github.com/apache/airflow/actions/runs/14309323849/job/40100685431?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants