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>
This commit is contained in:
Vincent Fazio
2025-02-14 11:44:32 -06:00
committed by Julien Olivain
parent 41b08a779b
commit 9bc3bbce38
2 changed files with 2 additions and 0 deletions

View File

@@ -9,3 +9,4 @@ class TestPythonPy3GnuPG(TestPythonPackageBase):
BR2_PACKAGE_PYTHON_GNUPG=y
"""
sample_scripts = ["tests/package/sample_python_gnupg.py"]
timeout = 10 # /dev/urandom can take a while to become initialized

View File

@@ -9,3 +9,4 @@ class TestPythonPy3Spake2(TestPythonPackageBase):
BR2_PACKAGE_PYTHON_SPAKE2=y
"""
sample_scripts = ["tests/package/sample_python_spake2.py"]
timeout = 10 # /dev/urandom can take a while to become initialized