test: mark intermittently-failing tests flaky

This commit is contained in:
Andrew Hamilton 2026-09-13 09:28:27 +10:00
parent 94884b1ef2
commit 51faf6b7f0

View file

@ -1624,13 +1624,17 @@ def test_standalone_headless_text_input_focus_follows_tab(tmp_path):
_assert_alive(s)
@pytest.mark.flaky
def test_standalone_headless_ime_popup_and_grab(tmp_path):
"""An in-session IME that grabs the keyboard and opens a candidate
popup drives the compositor's IME handlers end to end: grab, popup
open, commit relay to the focused field, then mid-session teardown
(the field exits after logging its commit, the IME leaves on the
resulting deactivate, dropping popup and method while the session
lives on)."""
lives on).
Flaky under parallel load (fails intermittently with -n 8, passes
alone): IME relay timing versus harness polling."""
ti_out = tmp_path / "ti.out"
im_out = tmp_path / "im.out"
with _run_standalone(
@ -2054,6 +2058,7 @@ def test_nested_primary_selection_bridged(tmp_path):
@pytest.mark.skipif(NEED_WL_CLIPBOARD, reason="wl-clipboard tools not installed")
@pytest.mark.flaky
def test_nested_host_primary_to_kick(tmp_path):
"""A host primary selection crosses the data-control bridge into kick
(regression: host->nested primary paste used to hang the terminal waiting
@ -3576,6 +3581,7 @@ def test_quit_confirm_dialog_renders():
_assert_alive(s, "compositor exited after cancelling quit")
@pytest.mark.flaky
def test_quit_cancel_keeps_running():
"""Ctrl+Alt+Q confirmation can be declined: N and Escape both dismiss it,
the compositor keeps running, and a later quit request re-asks."""
@ -4088,6 +4094,7 @@ def test_sub_windows_flag_errors():
f"error should mention --tab-groups:\n{out}"
@pytest.mark.flaky
def test_dead_command_explains_and_exits():
"""A sole command that exits before opening a window is dropped with a
plain-stderr explanation (command + exit status) and a clean exit(0) --
@ -4853,6 +4860,7 @@ def test_layer_zero_exclusive_does_not_resize():
# -- wf-panel-pi menu placement ---------------------------------------
@pytest.mark.flaky
def test_panel_menu_flush_under_bar():
"""wf-panel-pi opens its menus as (transiently) parentless xdg_popups.
They must hang off the output origin so the menu renders flush under the