From 98ae1a7858f266fc514896ac26459349cd075686 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Thu, 11 Sep 2014 09:00:47 -0500 Subject: [PATCH] Corrected JobStartCancel Test. --- awx/api/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/api/views.py b/awx/api/views.py index 1aac81d750..7e29f33cbd 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1642,6 +1642,10 @@ class JobRelaunch(GenericAPIView): model = Job + @transaction.non_atomic_requests + def dispatch(self, *args, **kwargs): + return super(JobRelaunch, self).dispatch(*args, **kwargs) + def get(self, request, *args, **kwargs): obj = self.get_object() data = {}