Commit 7d0f133a authored by Michael Salim's avatar Michael Salim
Browse files

kill test -- allow to pass if job starts running, as long as doesnt finish

parent b5be1476
......@@ -846,7 +846,7 @@ class TestUserKill(BalsamTestCase):
self.assertEqual(slow_job.state, "USER_KILLED")
preproc_out = slow_job.read_file_in_workdir('preprocess.log')
self.assertIn("Sleeping for a long time", preproc_out)
self.assertNotIn("RUNNING", slow_job.state_history)
self.assertNotIn("RUN_DONE", slow_job.state_history)
self.assertIn("STAGED_IN", slow_job.state_history)
def test_kill_during_execution_serial(self):
Supports Markdown
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