[thci] fix for GRL TH1.1 Leader 5.5.2, Leader 5.5.3 (#7163)

This commit is contained in:
JaneFromSilabs
2021-11-19 08:00:14 -08:00
committed by GitHub
parent 024c630b03
commit e67f432284
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1413,7 +1413,9 @@ class OpenThreadTHCI(object):
"""
print('%s call resetAndRejoin' % self)
try:
self.reset_and_wait_for_connection(timeout=timeout)
self.powerDown()
time.sleep(timeout)
self.powerUp()
self.__startOpenThread()
return self.wait_for_attach_to_the_network(expected_role="", timeout=self.NETWORK_ATTACHMENT_TIMEOUT)
except Exception as e:
+1 -1
View File
@@ -287,7 +287,7 @@ class OpenThread_BR(OpenThreadTHCI, IThci):
IsBorderRouter = True
def _connect(self):
self.log("logining Raspberry Pi ...")
self.log("logging in to Raspberry Pi ...")
self.__cli_output_lines = []
self.__syslog_skip_lines = None
self.__syslog_last_read_ts = 0