From ce7d70c3b3de7f832cbd875a333e2f73f31a63d6 Mon Sep 17 00:00:00 2001 From: jiajingbin Date: Thu, 15 Aug 2024 14:02:31 +0800 Subject: [PATCH] test: (fix case) add timeout-return --- tests/pytest/util/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pytest/util/common.py b/tests/pytest/util/common.py index dee3f505c9..1141ca403d 100644 --- a/tests/pytest/util/common.py +++ b/tests/pytest/util/common.py @@ -1909,6 +1909,8 @@ class TDCom: if latency < self.stream_timeout: latency += 1 time.sleep(1) + else: + return False return tbname def get_group_id_from_stb(self, stbname):