mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #10602 from aabadie/pr/tests/pkg_micro-ecc_timeout
tests/pkg_micro-ecc*: increase expect timeout
This commit is contained in:
commit
7b5b778cea
@ -4,6 +4,11 @@ import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
# Use a custom global timeout for slow hardware. On microbit (nrf51), the
|
||||
# test completes in 120s.
|
||||
TIMEOUT = 200
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect_exact('micro-ecc compiled!')
|
||||
child.expect_exact('Testing 16 random private key pairs and signature '
|
||||
@ -13,4 +18,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run(testfunc, timeout=60))
|
||||
sys.exit(run(testfunc, timeout=TIMEOUT))
|
||||
|
||||
@ -4,6 +4,11 @@ import sys
|
||||
from testrunner import run
|
||||
|
||||
|
||||
# Use a custom global timeout for slow hardware. On microbit (nrf51), the
|
||||
# test completes in 80s.
|
||||
TIMEOUT = 100
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect_exact('micro-ecc compiled!')
|
||||
child.expect_exact('Testing 16 random private key pairs and signature '
|
||||
@ -13,4 +18,4 @@ def testfunc(child):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run(testfunc, timeout=60))
|
||||
sys.exit(run(testfunc, timeout=TIMEOUT))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user