Skip to content

Commit

Permalink
test: Increase test_idle timeout from 2 to 5 sec
Browse files Browse the repository at this point in the history
This sees intermittent failures, possibly the previous 1 second margin
isn't sufficient on github runners.
  • Loading branch information
mkj committed Oct 21, 2024
1 parent 7b9ec4e commit 64a56fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def test_bg_sleep(request, fd, dropbear):


def test_idle(request, dropbear):
# Idle test, -I 1 should make it return before the 2 second timeout
# Idle test, -I 1 should make it return before the 5 second timeout
r = dbclient(request, "-I", "1", "echo zong; sleep 10",
capture_output=True, timeout=2, text=True)
capture_output=True, timeout=5, text=True)
r.check_returncode()
assert r.stdout.rstrip() == "zong"

Expand Down

0 comments on commit 64a56fe

Please sign in to comment.