From 69e7b79b0871c215b0733abeb5d1e12e689f15a9 Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Sat, 24 Feb 2024 23:28:11 +0000 Subject: [PATCH] logging --- test/end2end/session/test_stop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/end2end/session/test_stop.py b/test/end2end/session/test_stop.py index b4b3b716ea7..0daaad8487e 100644 --- a/test/end2end/session/test_stop.py +++ b/test/end2end/session/test_stop.py @@ -43,6 +43,7 @@ def new_msg(msg): def wait_for_n_messages(n): nonlocal messages + messages = [] # clear t = time.time() while len(messages) < n: sleep(0.01) @@ -239,6 +240,7 @@ def new_msg(msg): def wait_for_n_messages(n): nonlocal messages + messages = [] # clear t = time.time() while len(messages) < n: sleep(0.01)