towards tower-qa running against dev ansible-tower

This commit is contained in:
Chris Meyers
2015-02-03 10:06:39 -05:00
parent f1674df788
commit 981eeb3c88
2 changed files with 5 additions and 0 deletions

View File

@@ -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)

View File

@@ -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