o-nikolas commented on code in PR #37635:
URL: https://github.com/apache/airflow/pull/37635#discussion_r1503295868
##########
tests/cli/commands/test_celery_command.py:
##########
@@ -69,6 +70,7 @@ class TestCeleryStopCommand:
@classmethod
def setup_class(cls):
with conf_vars({("core", "executor"): "CeleryExecutor"}):
+ importlib.reload(executor_loader)
Review Comment:
We do more caching in the executor loader now, use `reload` to get fresh
module state. Similar to cli_parser.
--
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]