mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Make sure we ignore the wait update for tasks under dependency
situations in the unit tests
This commit is contained in:
@@ -977,6 +977,7 @@ class InventoryTest(BaseTest):
|
|||||||
|
|
||||||
@override_settings(CELERY_ALWAYS_EAGER=True,
|
@override_settings(CELERY_ALWAYS_EAGER=True,
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
||||||
|
UNIT_TEST_IGNORE_TASK_WAIT=True,
|
||||||
PEXPECT_TIMEOUT=60)
|
PEXPECT_TIMEOUT=60)
|
||||||
class InventoryUpdatesTest(BaseTransactionTest):
|
class InventoryUpdatesTest(BaseTransactionTest):
|
||||||
|
|
||||||
|
|||||||
@@ -674,6 +674,7 @@ class ProjectsTest(BaseTest):
|
|||||||
@override_settings(CELERY_ALWAYS_EAGER=True,
|
@override_settings(CELERY_ALWAYS_EAGER=True,
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
||||||
ANSIBLE_TRANSPORT='local',
|
ANSIBLE_TRANSPORT='local',
|
||||||
|
UNIT_TEST_IGNORE_TASK_WAIT=True
|
||||||
PROJECT_UPDATE_IDLE_TIMEOUT=60,
|
PROJECT_UPDATE_IDLE_TIMEOUT=60,
|
||||||
PROJECT_UPDATE_VVV=True)
|
PROJECT_UPDATE_VVV=True)
|
||||||
class ProjectUpdatesTest(BaseTransactionTest):
|
class ProjectUpdatesTest(BaseTransactionTest):
|
||||||
|
|||||||
Reference in New Issue
Block a user