* [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value
@ 2025-02-14 17:44 Vincent Fazio
2025-02-16 11:26 ` Julien Olivain
2025-02-18 12:06 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Vincent Fazio @ 2025-02-14 17:44 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Vincent Fazio, Vincent Fazio
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>
---
support/testing/tests/package/test_python_gnupg.py | 1 +
support/testing/tests/package/test_python_spake2.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/support/testing/tests/package/test_python_gnupg.py b/support/testing/tests/package/test_python_gnupg.py
index 8861115130..8b438aed15 100644
--- a/support/testing/tests/package/test_python_gnupg.py
+++ b/support/testing/tests/package/test_python_gnupg.py
@@ -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
diff --git a/support/testing/tests/package/test_python_spake2.py b/support/testing/tests/package/test_python_spake2.py
index fb47a0802c..0629772bc3 100644
--- a/support/testing/tests/package/test_python_spake2.py
+++ b/support/testing/tests/package/test_python_spake2.py
@@ -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
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value
2025-02-14 17:44 [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value Vincent Fazio
@ 2025-02-16 11:26 ` Julien Olivain
2025-02-18 12:06 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain @ 2025-02-16 11:26 UTC (permalink / raw)
To: Vincent Fazio; +Cc: buildroot, Vincent Fazio
On 14/02/2025 18:44, Vincent Fazio wrote:
> 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>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value
2025-02-14 17:44 [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value Vincent Fazio
2025-02-16 11:26 ` Julien Olivain
@ 2025-02-18 12:06 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2025-02-18 12:06 UTC (permalink / raw)
To: Vincent Fazio; +Cc: buildroot, Julien Olivain, Vincent Fazio
>>>>> "Vincent" == Vincent Fazio <vfazio@xes-inc.com> writes:
> 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>
Committed to 2024.02.x and 2024.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-18 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14 17:44 [Buildroot] [PATCH] support/testing: test_python_{gnupg, spake2}: increase timeout value Vincent Fazio
2025-02-16 11:26 ` Julien Olivain
2025-02-18 12:06 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.