Commit 425f794e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][loop_executor] Fix sequential loop user test

Now requires a sequential loop algorithm.
parent 95c20d5b
Pipeline #32149 passed with stage
in 11 minutes and 15 seconds
......@@ -104,6 +104,7 @@ class TestExecution(unittest.TestCase):
shutil.rmtree(self.cache_root)
shutil.rmtree(self.working_dir)
self.loop_socket.send_string("don")
if self.loop_executor:
self.loop_socket.send_string("don")
self.loop_executor.wait()
......@@ -209,7 +210,6 @@ class TestExecution(unittest.TestCase):
self.assertTrue(executor.setup())
self.assertTrue(executor.prepare())
self.assertTrue(executor.process())
self.loop_executor.close()
......@@ -251,7 +251,7 @@ class TestExecution(unittest.TestCase):
self.process("autonomous/loop_user/1", "autonomous/loop/1")
def test_sequential_loop_user(self):
self.process("sequential/loop_user/1", "autonomous/loop/1")
self.process("sequential/loop_user/1", "sequential/loop/1")
def test_autonomous_loop_invalid_validate_output(self):
with self.assertRaises(RemoteException):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment