From 64a56fe66d4ffe8d9d2c59c02fda0b45a34fa10e Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 21 Oct 2024 23:06:34 +0800 Subject: [PATCH] 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. --- test/test_channels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_channels.py b/test/test_channels.py index 9c493ad5d..d6feb045e 100644 --- a/test/test_channels.py +++ b/test/test_channels.py @@ -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"