mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
AC-620 Skip deadlock test when not using PostgreSQL.
This commit is contained in:
parent
fc5c97d9ea
commit
5fa228c085
@ -1365,6 +1365,8 @@ class JobTransactionTest(BaseJobTestMixin, django.test.LiveServerTestCase):
|
||||
t.join(20)
|
||||
|
||||
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
|
||||
job = self.job_eng_run
|
||||
inv = job.inventory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user