Skip to content

Commit be64e76

Browse files
jpietekclaude
andcommitted
Patch the daemon gate in the persist-error scan test
The gate now runs before the setup dialog, so the unpatched test reached the real readiness check and blocked forever on its modal prompt under the offscreen platform — every full-suite hang today was this one test, not the historical Qt font flake. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 6355ed5 commit be64e76

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_ui_window_actions.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ def test_start_scan_switches_to_auto_uv_tab(win) -> None:
183183

184184
def test_start_scan_gpu_persist_error(win) -> None:
185185
window, monkeypatch = win
186+
monkeypatch.setattr(
187+
window_mod,
188+
"ensure_daemon_ready_for_privileged_action",
189+
lambda **_kwargs: True,
190+
)
186191
monkeypatch.setattr(window_mod, "select_scan_tuning", lambda **k: {"gpu_index": 0})
187192

188193
def _boom(_idx):

0 commit comments

Comments
 (0)