Skip to content
Snippets Groups Projects
Commit 87dd5f93 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

tests/pthread_condition_variable: increase timeout

Otherwise it raises a timeout on slow boards. It takes around 2 minutes
on nrf51 based boards (e.g microbit)
parent 169a72b9
No related branches found
No related tags found
No related merge requests found
......@@ -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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment