mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
AC-620 Skip deadlock test when not using PostgreSQL.
This commit is contained in:
@@ -1365,6 +1365,8 @@ class JobTransactionTest(BaseJobTestMixin, django.test.LiveServerTestCase):
|
|||||||
t.join(20)
|
t.join(20)
|
||||||
|
|
||||||
def test_for_job_deadlocks(self):
|
def test_for_job_deadlocks(self):
|
||||||
|
if 'postgresql' not in settings.DATABASES['default']['ENGINE']:
|
||||||
|
self.skipTest('Not using PostgreSQL')
|
||||||
# Create lots of extra test hosts to trigger job event callbacks
|
# Create lots of extra test hosts to trigger job event callbacks
|
||||||
job = self.job_eng_run
|
job = self.job_eng_run
|
||||||
inv = job.inventory
|
inv = job.inventory
|
||||||
|
|||||||
Reference in New Issue
Block a user