diff mbox series

[1/1] support: test_python_rsa: increase timeout

Message ID 20211024142838.1474013-1-raphael.melotte@mind.be
State Accepted
Headers show
Series [1/1] support: test_python_rsa: increase timeout | expand

Commit Message

Raphaël Mélotte Oct. 24, 2021, 2:28 p.m. UTC
On some developers machines, the default timeout (5 seconds) is not
enough for the test to succeed.

Increase it to 20 seconds, to let more time for the rsa keys to be
generated.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
---
 support/testing/tests/package/test_python_rsa.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Arnout Vandecappelle Oct. 26, 2021, 7:34 p.m. UTC | #1
On 24/10/2021 16:28, Raphaël Mélotte wrote:
> On some developers machines, the default timeout (5 seconds) is not
> enough for the test to succeed.
> 
> Increase it to 20 seconds, to let more time for the rsa keys to be
> generated.
> 
> Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   support/testing/tests/package/test_python_rsa.py | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/support/testing/tests/package/test_python_rsa.py b/support/testing/tests/package/test_python_rsa.py
> index e63d63e1de..5ddfb51314 100644
> --- a/support/testing/tests/package/test_python_rsa.py
> +++ b/support/testing/tests/package/test_python_rsa.py
> @@ -9,3 +9,4 @@ class TestPythonPy3RSA(TestPythonPackageBase):
>           BR2_PACKAGE_PYTHON_RSA=y
>           """
>       sample_scripts = ["tests/package/sample_python_rsa.py"]
> +    timeout = 20
>
diff mbox series

Patch

diff --git a/support/testing/tests/package/test_python_rsa.py b/support/testing/tests/package/test_python_rsa.py
index e63d63e1de..5ddfb51314 100644
--- a/support/testing/tests/package/test_python_rsa.py
+++ b/support/testing/tests/package/test_python_rsa.py
@@ -9,3 +9,4 @@  class TestPythonPy3RSA(TestPythonPackageBase):
         BR2_PACKAGE_PYTHON_RSA=y
         """
     sample_scripts = ["tests/package/sample_python_rsa.py"]
+    timeout = 20