14 lines
1.3 KiB
Plaintext
14 lines
1.3 KiB
Plaintext
# 121-followup-test-speedup: Followup test speedup
|
|
|
|
Goal: trim waits in slowest test file
|
|
|
|
Steps:
|
|
1. Read 118 result notes in done/118-slowest-tests.md.* for the top target (test_followup_fixes wired_dm_send, ~15s in sleeps). 2. On a feature branch: reduce sleeps/timeouts keeping all assertions identical (never weaken tests); run the file until green. Done criteria: result notes list before/after seconds + pass count, or exact blocking failure.
|
|
|
|
Done criteria: result notes appended below; file moved to done/.
|
|
|
|
Result notes (append below before moving to done/):
|
|
|
|
Completed 2026-10-08T16:44:42Z via box tasks done:
|
|
DONE on branch builder/followup-test-speedup (uncommitted, test-only, zero production change). ROOT CAUSE: wired_dm_send test exercises bin/dm.py assert_pre_send_placement 5x with real settle sleeps (3x1s direct-nav-done + 1x2s re-nav = 5s), and the file collects the test 3x (module + dynamic TestFollowupFixes adapter + dup = 108 tests) -> ~15s. FIX (bin/tests/test_followup_fixes.py; tests/ is a symlink to bin/tests/): stub dm.time.sleep alongside the existing run_full stub, restored in finally. All assertions byte-identical. BEFORE/AFTER: file 108 passed 15.17s -> 0.21s; full suite 1404+29 in 91.5s -> 72.0s, 0 failures. FOLLOW-UP (out of scope): kill the 3x collection (dynamic adapter at file end) to cut 108->36 tests.
|