incubator-airflow/tests/test_utils
Daniel Imberman f3bb4c31b8 [AIRFLOW-6175] Fixes bug when tasks get stuck in "scheduled" state (#6732)
There is a bug caused by scheduler_jobs refactor which leads to task failure
and scheduler locking.

Essentially when a there is an overflow of tasks going into the scheduler, the
tasks are set back to scheduled, but are not removed from the executor's
queued_tasks queue.

This means that the executor will attempt to run tasks that are in the scheduled
state, but those tasks will fail dependency checks. Eventually the queue is
filled with scheduled tasks, and the scheduler can no longer run.

Co-Authored-By: Kaxil Naik <kaxilnaik@gmail.com>, Kevin Yang <kevin.yang@airbnb.com>
2019-12-10 11:17:30 +00:00
..
operators
README.md
__init__.py
config.py [AIRFLOW-6060] Improve conf_vars context manager (#6658) 2019-11-25 15:16:04 +01:00
db.py [AIRFLOW-6081] Refactor test_connection_command.py (#6676) 2019-12-09 10:13:10 +01:00
fake_datetime.py
gcp_system_helpers.py
get_all_tests.py
hdfs_utils.py
mock_executor.py [AIRFLOW-6175] Fixes bug when tasks get stuck in "scheduled" state (#6732) 2019-12-10 11:17:30 +00:00
mock_operators.py [AIRFLOW-6196] Use new syntax for NamedTuple (#6751) 2019-12-09 09:48:48 +01:00
mock_security_manager.py [AIRFLOW-6058] Running tests with pytest (#6472) 2019-12-05 10:40:28 +01:00
print_tests.py
reset_warning_registry.py
system_tests_class.py [AIRFLOW-6139] Consistent spaces in pylint enable/disable (#6701) 2019-12-01 12:26:10 +01:00

README.md

Utilities for use in tests.