Skip to content

Commit 4081cfc

Browse files
committed
test(control-mode): Xfail restart retry and capture races
1 parent acc6cd9 commit 4081cfc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_control_mode_regressions.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ class InternalNameCollisionFixture(t.NamedTuple):
605605
),
606606
marks=pytest.mark.xfail(
607607
reason="control-mode capture may race shell; TODO fix",
608+
strict=False,
608609
),
609610
),
610611
],
@@ -637,9 +638,12 @@ def test_capture_pane_respects_range(case: CaptureRangeFixture) -> None:
637638

638639

639640
@pytest.mark.engines(["control"])
641+
@pytest.mark.xfail(
642+
reason="control-mode capture -N can race shell; TODO fix upstream",
643+
strict=False,
644+
)
640645
def test_capture_pane_preserves_joined_lines() -> None:
641646
"""capture-pane -N should keep joined lines (no trimming/rewrap)."""
642-
pytest.xfail("control-mode capture -N can race shell; TODO fix upstream")
643647
socket_name = f"libtmux_test_{uuid.uuid4().hex[:8]}"
644648
engine = ControlModeEngine()
645649
server = Server(socket_name=socket_name, engine=engine)

0 commit comments

Comments
 (0)