mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #10603 from aabadie/pr/tests/pthread_timeout
tests/pthread_condition_variable: increase timeout
This commit is contained in:
commit
47830f44c2
@ -4,6 +4,12 @@ import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
# This test can take some time to complete when testing on hardware (e.g
|
||||
# on samr21-xpro) and the default timeout (10s) is not enough.
|
||||
# For example, it takes about 2 minutes to complete on a microbit.
|
||||
TIMEOUT = 150
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect('START')
|
||||
child.expect('condition fulfilled.')
|
||||
@ -11,6 +17,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# This test can take some time to complete when testing on hardware (e.g
|
||||
# on samr21-xpro) and the default timeout (10s) is not enough.
|
||||
sys.exit(run(testfunc, timeout=60))
|
||||
sys.exit(run(testfunc, timeout=TIMEOUT))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user