Skip to content

Commit

Permalink
Mark test_exec_command as xfail
Browse files Browse the repository at this point in the history
It causes SEGFAULTs:
#57
  • Loading branch information
webknjaz committed Jun 18, 2020
1 parent 129c040 commit 1348b85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/unit/channel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ def ssh_channel(ssh_client_session):
chan.close()


@pytest.mark.xfail(
reason='This test causes SEGFAULT, flakily. '
'Ref: https://github.com/ansible/pylibssh/issues/57', # noqa: WPS326
run=False,
strict=False,
)
@pytest.mark.forked
def test_exec_command(ssh_channel):
"""Test getting the output of a remotely executed command."""
Expand Down

0 comments on commit 1348b85

Please sign in to comment.