From 5fa228c085c3c468d6a1c119f38d6295f7d5ae29 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Thu, 21 Nov 2013 19:41:02 -0500 Subject: [PATCH] AC-620 Skip deadlock test when not using PostgreSQL. --- awx/main/tests/jobs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/tests/jobs.py b/awx/main/tests/jobs.py index 399564c879..3d37085a64 100644 --- a/awx/main/tests/jobs.py +++ b/awx/main/tests/jobs.py @@ -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