mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
towards tower-qa running against dev ansible-tower
This commit is contained in:
@@ -1257,6 +1257,8 @@ class RunJobTest(BaseCeleryTest):
|
||||
self.assertEqual(job.processed_hosts.count(), 1)
|
||||
|
||||
def test_run_async_job_that_fails(self):
|
||||
# FIXME: We are not sure why proot needs to be disabled on this test
|
||||
settings.AWX_PROOT_ENABLED = False
|
||||
self.create_test_project(TEST_ASYNC_FAIL_PLAYBOOK)
|
||||
job_template = self.create_test_job_template()
|
||||
job = self.create_test_job(job_template=job_template)
|
||||
|
||||
@@ -23,6 +23,9 @@ if 'celeryd' in sys.argv:
|
||||
CALLBACK_CONSUMER_PORT = "tcp://127.0.0.1:5557"
|
||||
CALLBACK_QUEUE_PORT = "ipc:///tmp/callback_receiver_dev.ipc"
|
||||
|
||||
# Enable PROOT for tower-qa integration tests
|
||||
AWX_PROOT_ENABLED = True
|
||||
|
||||
# Use Django-Jenkins if installed. Only run tests for awx.main app.
|
||||
try:
|
||||
import django_jenkins
|
||||
|
||||
Reference in New Issue
Block a user