Files
rpi-buildroot/support/testing/tests/package/test_python_spake2.py
Vincent Fazio 9bc3bbce38 support/testing: test_python_{gnupg, spake2}: increase timeout value
Previously, these tests had the potential for timing out with the
default 5 second timeout value if initializing /dev/urandom took too
long.

Now the tests use a 10 second timeout value.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-02-16 12:13:44 +01:00

13 lines
403 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Spake2(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_SPAKE2=y
"""
sample_scripts = ["tests/package/sample_python_spake2.py"]
timeout = 10 # /dev/urandom can take a while to become initialized