potiuk commented on code in PR #39513: URL: https://github.com/apache/airflow/pull/39513#discussion_r1597732789
########## tests/providers/openlineage/plugins/test_openlineage.py: ########## @@ -131,7 +131,7 @@ def teardown_method(self): ), ], ) - def test_plugin_disablements(self, mocks, expected): + def test_plugin_disablements(self, mocks, expected, require_running_tests_from_sources): Review Comment: Hmm. Not really - seems that every time we re-run the test wiht 2.9.1 installed as package, it works. It stops working when I re-run it with `--with-db-init` switch. Steps to reproduce: 1) Start breeze with airflow 2.9.1 installed from package: ``` breeze shell --use-packages-from-dist --package-format wheel --use-airflow-version 2.9.1 --airflow-constraints-reference constraints-2.9.1 --providers-skip-constraints --install-airflow-with-constraints --mount-sources test ``` 2) pytest tests/providers/openlineage/plugins/test_openlineage.py -> errors 3) pytest tests/providers/openlineage/plugins/test_openlineage.py -> success 4) pytest tests/providers/openlineage/plugins/test_openlineage.py -> success 5) pytest tests/providers/openlineage/plugins/test_openlineage.py --with-db-init -> errors 6) pytest tests/providers/openlineage/plugins/test_openlineage.py --with-db-init -> errors 7) pytest tests/providers/openlineage/plugins/test_openlineage.py -> success Very repeatable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org