Skip to content

Commit 64a56fe

Browse files
committed
test: Increase test_idle timeout from 2 to 5 sec
This sees intermittent failures, possibly the previous 1 second margin isn't sufficient on github runners.
1 parent 7b9ec4e commit 64a56fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_channels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def test_bg_sleep(request, fd, dropbear):
6969

7070

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

0 commit comments

Comments
 (0)