Answer prose round 1: 0 🔴, 0 🟡 (0 misread); reword the timeout comment

This commit is contained in:
2026-11-18 22:45:47 +01:00
parent cf46cde1ec
commit 34605579b8
+1 -1
View File
@@ -303,7 +303,7 @@ class ChunkPreflightTool(unittest.TestCase):
def test_reads_origin_as_last_fetched_where_the_fetch_stalls_and_still_states_the_other_facts(self):
repo = Repo(self)
repo.stub_git(f'"fetch --quiet origin") exec {shutil.which("sleep")} 30;;')
# The timeout also bounds `reading-cost`, so it stays well above what that takes on a loaded runner.
# The timeout also stops `reading-cost`, so it is set well above the seconds `reading-cost` takes on a loaded runner.
done = repo.preflight("--worktree", CHUNK_PREFLIGHT_TIMEOUT="5")
self.assertEqual(done.returncode, 0, done.stderr)
self.assertIn("as last fetched", done.stdout)