Skip to content

Commit a663521

Browse files
committed
Comment out flakey test_idle
This often fails, it's the one with "zong" in the log output. It's worth keeping for when channel cleanup code needs future modification. pytest "mark" could be used to properly make it non-default, but this is good enough for now.
1 parent ac8f8bf commit a663521

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/test_channels.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ def test_bg_sleep(request, fd, dropbear):
6868
assert st.rstrip() == "hello"
6969

7070

71-
def test_idle(request, dropbear):
71+
# This test is flakey so disabled.
72+
# If working on channel close code it can be manually run
73+
# by renaming to test_idle().
74+
def flakey_test_idle(request, dropbear):
7275
# Idle test, -I 1 should make it return before the 5 second timeout
7376
r = dbclient(request, "-I", "1", "echo zong; sleep 10",
7477
capture_output=True, timeout=5, text=True)

0 commit comments

Comments
 (0)