drajguru commented on code in PR #37927: URL: https://github.com/apache/airflow/pull/37927#discussion_r1514974293
########## tests/jobs/test_triggerer_job.py: ########## @@ -51,6 +52,24 @@ pytestmark = pytest.mark.db_test [email protected](autouse=True) +def disable_console_handler(): + """ + Prevent console handler from getting bound to the trigger_job_runner when setup_queue_listener is called during tests + """ + + class QueueListener_(logging.handlers.QueueListener): Review Comment: True, I just moved it out -- 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]
