ParagEkbote commented on code in PR #77389:
URL: https://github.com/apache/airflow/pull/77389#discussion_r4644356114


##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -207,7 +207,8 @@ def _calculate_provider_deps_hash():
 # End of copied code from breeze
 
 os.environ["AIRFLOW__CORE__ALLOWED_DESERIALIZATION_CLASSES"] = 
"airflow.*\nunit.*\n"
-os.environ["AIRFLOW__CORE__PLUGINS_FOLDER"] = 
os.fspath(AIRFLOW_CORE_TESTS_PATH / "unit" / "plugins")
+if "--system" not in sys.argv:

Review Comment:
   Thank you for pointing the pytest-xdist workers point, I have updated the 
fix to make it safe for them.



##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -207,7 +207,8 @@ def _calculate_provider_deps_hash():
 # End of copied code from breeze
 
 os.environ["AIRFLOW__CORE__ALLOWED_DESERIALIZATION_CLASSES"] = 
"airflow.*\nunit.*\n"
-os.environ["AIRFLOW__CORE__PLUGINS_FOLDER"] = 
os.fspath(AIRFLOW_CORE_TESTS_PATH / "unit" / "plugins")
+if "--system" not in sys.argv:

Review Comment:
   Thank you for pointing the `pytest-xdist` workers point, I have updated the 
fix to make it safe for them.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to