Kill the mutants of the evidence separator and the CPU sum
This commit is contained in:
@@ -57,7 +57,8 @@ class StuckWorkers(unittest.TestCase):
|
||||
def test_a_shell_older_than_a_chunk_usually_runs_is_investigated_at_the_first_check(self):
|
||||
old = [shell(pid, started=NOW - stuck_workers.OLD, written=NOW + 290) for pid in (7, 10)]
|
||||
_, fake, said, _, _ = self.worker_with(ASSISTANT, None, held=old, replies=[verdict("working", 7, "the tests still print")])
|
||||
self.assertEqual(len(fake.made("claude")), 1)
|
||||
[(_, prompt)] = fake.made("claude")
|
||||
self.assertIn("collected 40 items\n\nShell 10: bin/run-tests\n", prompt)
|
||||
self.assertIn(f"stuck check: shell 7 has run {stuck_workers.OLD + 300} s, written nothing for 10 s: bin/run-tests; shell 10 has run {stuck_workers.OLD + 300} s, written nothing for 10 s: bin/run-tests; a headless claude judged the worker working, held by process 7: the tests still print", said)
|
||||
|
||||
def test_a_worker_whose_shells_show_no_sign_is_not_investigated(self):
|
||||
|
||||
Reference in New Issue
Block a user