Commit dc491602 authored by cermak's avatar cermak
Browse files

debuging

Change-Id: Iee2b99830cabf7d1148842ae7c672601c601440e
parent 7d0fce1f
......@@ -41,8 +41,9 @@ class StringIO(SerialStringIO):
self.WriteLine(msg)
for i in range(100):
if self.read_availableLines():
self.log.debug("I have line!")
break
self.log.debug("waiting for response")
self.log.debug(f"waiting for response #{i}")
sleep(0.1)
else:
raise CommunicationFailure(f"no response in 10s")
......
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