From 6edb3a9e1b1ac0f1a4be0026346399f6a28daf80 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 28 Jan 2021 13:40:54 +0100 Subject: [PATCH] tests/pkg_wolfcrypt-ed25519-verify: increase timeout for nrf51dk --- tests/pkg_wolfcrypt-ed25519-verify/tests/01-run.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/pkg_wolfcrypt-ed25519-verify/tests/01-run.py b/tests/pkg_wolfcrypt-ed25519-verify/tests/01-run.py index e19d2900d6..49d9b5da96 100755 --- a/tests/pkg_wolfcrypt-ed25519-verify/tests/01-run.py +++ b/tests/pkg_wolfcrypt-ed25519-verify/tests/01-run.py @@ -4,9 +4,14 @@ import sys from testrunner import run +# This test needs some time to complete on small platforms. On nrf51dk, it +# takes >10s. +TIMEOUT = 20 + + def testfunc(child): child.expect_exact("The signature is valid!") if __name__ == "__main__": - sys.exit(run(testfunc)) + sys.exit(run(testfunc, timeout=TIMEOUT))