Answer prose round 1: 0 🔴, 0 🟡 (0 misread); reword the timeout comment
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user