Skip to content

Commit

Permalink
Add explicit timeout for test_salt_documentation test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz authored and vzhestkov committed Aug 30, 2024
1 parent 307eb23 commit f260751
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/pytests/integration/cli/test_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ def test_salt_documentation(salt_cli, salt_minion):
"""
Test to see if we're supporting --doc
"""
ret = salt_cli.run("-d", "test", minion_tgt=salt_minion.id)
# Setting an explicity long timeout otherwise this test may fail when the
# system is under load.
ret = salt_cli.run("-d", "test", minion_tgt=salt_minion.id, _timeout=90)
assert ret.returncode == 0
assert "test.ping" in ret.data

Expand Down

0 comments on commit f260751

Please sign in to comment.