Commit 7d0fce1f authored by cermak's avatar cermak
Browse files

Improve timing

Change-Id: I751bed184ba1ce202c7b591ed46812f3cda48f9d
parent 5757045e
...@@ -43,9 +43,9 @@ class StringIO(SerialStringIO): ...@@ -43,9 +43,9 @@ class StringIO(SerialStringIO):
if self.read_availableLines(): if self.read_availableLines():
break break
self.log.debug("waiting for response") self.log.debug("waiting for response")
sleep(0.05) sleep(0.1)
else: else:
raise CommunicationFailure(f"no response in 5s") raise CommunicationFailure(f"no response in 10s")
firstline = self.ReadLine() firstline = self.ReadLine()
if firstline != msg: if firstline != msg:
raise CommunicationFailure(f"command not repeated {firstline}!={msg}") raise CommunicationFailure(f"command not repeated {firstline}!={msg}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment