加快门禁:删除测试窗口、释放桩线程并并行运行三个阶段
关闭后未删除的测试窗口让每次主题切换重排全部残留控件,ui_check 每次关窗还要等桩线程 5 秒。Linux 上结论不变,test_ui_smoke 75→64 s、ui_check 52→16 s;Windows 门禁结果见 .scratch/gate-speed/。
This commit is contained in:
@@ -1048,7 +1048,9 @@ def test_the_domain_boundary_is_latched_for_the_session(make_window):
|
||||
"the previous session's island survived into a new run"
|
||||
)
|
||||
window._run_timer.stop()
|
||||
window._stop_run(reason="user_stop")
|
||||
# Release the stand-in worker as well: the second run re-armed its hang, and a
|
||||
# window closed on a hanging worker waits out its 5 s join in teardown.
|
||||
_finish(window, stuck)
|
||||
|
||||
|
||||
# ------------------------------------------------------------- experiment record
|
||||
|
||||
Reference in New Issue
Block a user