fix the issue for test case - test_restart_job
@@ -285,10 +285,11 @@ class Test(unittest.TestCase):
def test_restart_job(self):
self.run_it('/infrabox/context/infrabox/test/e2e/tests/test_restart_job')
+ # restart a job and its children
self.expect_job('test-2')
self.restart_job('test-1')
time.sleep(90)
- self.expect_job('test-2.1', parents='test-1.1')
+ self.expect_job('test-2.1', parents=['test-1.1'])
def test_restart_single_job_without_dep(self):
self.run_it('/infrabox/context/infrabox/test/e2e/tests/test_restart_job')
