From e67f432284914aa6d2675a2df0507f44aa4a0e92 Mon Sep 17 00:00:00 2001 From: JaneFromSilabs <58004715+JaneFromSilabs@users.noreply.github.com> Date: Fri, 19 Nov 2021 11:00:14 -0500 Subject: [PATCH] [thci] fix for GRL TH1.1 Leader 5.5.2, Leader 5.5.3 (#7163) --- tools/harness-thci/OpenThread.py | 4 +++- tools/harness-thci/OpenThread_BR.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/harness-thci/OpenThread.py b/tools/harness-thci/OpenThread.py index c24d16a54..9dd9b4b7e 100644 --- a/tools/harness-thci/OpenThread.py +++ b/tools/harness-thci/OpenThread.py @@ -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: diff --git a/tools/harness-thci/OpenThread_BR.py b/tools/harness-thci/OpenThread_BR.py index 2844a9c40..2e1a006c8 100644 --- a/tools/harness-thci/OpenThread_BR.py +++ b/tools/harness-thci/OpenThread_BR.py @@ -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