Skip to content

Commit

Permalink
Merge pull request #324 from jakkra/test-timeout
Browse files Browse the repository at this point in the history
hw-test: constantly read RTT logs in order to prevent RTT block
  • Loading branch information
ldab authored Jul 21, 2024
2 parents 2d26ac6 + dc558d8 commit d540a61
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/pytest/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def test_reset():


def test_boot():
log.info("Wait for boot")
time.sleep(60)
assert utils.read_rtt(timeout_ms=20000).find("Enter inactive") != -1
search_string = "Enter inactive"
log.info("Booting...")
log.info("Check for \'{}\' string".format(search_string))
assert utils.read_rtt(timeout_ms=60000).find(search_string) != -1

0 comments on commit d540a61

Please sign in to comment.