[riot-notifications] [RIOT-OS/RIOT] tests/periph_rtt_min: increase pexpect timeout (#16329)

Francisco notifications at github.com
Wed Apr 14 11:21:59 CEST 2021


I think increasing the timeout is not the best fix since it might still fail with slow RTTs, how about adapting to something like (untested):

```python
    test_end = r'RTT_MIN_OFFSET for [a-zA-Z\-\_0-9]+ over {samples} samples: \d+' .format(samples=exp_samples)
    test_ongoing = r'.'
    while child.expect([test_ongoing, test_end]) == 0:
        pass
```

We won't count the dots but just use them as a parameter that the test is running. What do you think?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16329#issuecomment-819371753
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210414/aa8c5e9c/attachment.htm>


More information about the notifications mailing list