test: (fix case) add timeout-return
This commit is contained in:
parent
9f47f8467d
commit
ce7d70c3b3
|
@ -1909,6 +1909,8 @@ class TDCom:
|
||||||
if latency < self.stream_timeout:
|
if latency < self.stream_timeout:
|
||||||
latency += 1
|
latency += 1
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
else:
|
||||||
|
return False
|
||||||
return tbname
|
return tbname
|
||||||
|
|
||||||
def get_group_id_from_stb(self, stbname):
|
def get_group_id_from_stb(self, stbname):
|
||||||
|
|
Loading…
Reference in New Issue