|
@@ -2529,7 +2529,7 @@ class TestPermissions(OozieBase):
|
|
|
try:
|
|
try:
|
|
|
self.wf.delete(skip_trash=True)
|
|
self.wf.delete(skip_trash=True)
|
|
|
except:
|
|
except:
|
|
|
- pass
|
|
|
|
|
|
|
+ LOG.exception('failed to tear down tests')
|
|
|
|
|
|
|
|
def test_workflow_permissions(self):
|
|
def test_workflow_permissions(self):
|
|
|
raise SkipTest
|
|
raise SkipTest
|
|
@@ -2946,7 +2946,7 @@ class TestEditorWithOozie(OozieBase):
|
|
|
try:
|
|
try:
|
|
|
self.wf.delete(skip_trash=True)
|
|
self.wf.delete(skip_trash=True)
|
|
|
except:
|
|
except:
|
|
|
- pass
|
|
|
|
|
|
|
+ LOG.exception('failed to tear down tests')
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_create_workflow(self):
|
|
def test_create_workflow(self):
|
|
@@ -3122,7 +3122,7 @@ class TestDashboardWithOozie(OozieBase):
|
|
|
try:
|
|
try:
|
|
|
self.wf.delete(skip_trash=True)
|
|
self.wf.delete(skip_trash=True)
|
|
|
except:
|
|
except:
|
|
|
- pass
|
|
|
|
|
|
|
+ LOG.exception('failed to tear down tests')
|
|
|
|
|
|
|
|
def test_submit_external_workflow(self):
|
|
def test_submit_external_workflow(self):
|
|
|
# Check popup and reading workflow.xml and job.properties
|
|
# Check popup and reading workflow.xml and job.properties
|
|
@@ -3377,7 +3377,7 @@ class TestDashboard(OozieMockBase):
|
|
|
self.c.get(reverse('oozie:manage_oozie_jobs', args=[MockOozieApi.COORDINATOR_IDS[0], 'kill']))
|
|
self.c.get(reverse('oozie:manage_oozie_jobs', args=[MockOozieApi.COORDINATOR_IDS[0], 'kill']))
|
|
|
assert False
|
|
assert False
|
|
|
except:
|
|
except:
|
|
|
- pass
|
|
|
|
|
|
|
+ LOG.exception('failed to get oozie job')
|
|
|
|
|
|
|
|
response = self.c.post(reverse('oozie:manage_oozie_jobs', args=[MockOozieApi.COORDINATOR_IDS[0], 'kill']))
|
|
response = self.c.post(reverse('oozie:manage_oozie_jobs', args=[MockOozieApi.COORDINATOR_IDS[0], 'kill']))
|
|
|
data = json.loads(response.content)
|
|
data = json.loads(response.content)
|
|
@@ -3537,6 +3537,7 @@ class TestDashboard(OozieMockBase):
|
|
|
assert_true(response.context['workflow_graph'] is None)
|
|
assert_true(response.context['workflow_graph'] is None)
|
|
|
assert_equal(Document.objects.available_docs(Workflow, self.user).count(), workflow_count)
|
|
assert_equal(Document.objects.available_docs(Workflow, self.user).count(), workflow_count)
|
|
|
except:
|
|
except:
|
|
|
|
|
+ LOG.exception('failed to test workflow status graph')
|
|
|
finish()
|
|
finish()
|
|
|
|
|
|
|
|
def test_list_oozie_sla(self):
|
|
def test_list_oozie_sla(self):
|