[Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Feb 11 17:27:27 UTC 2024
Julien, All,
On 2024-02-10 13:25 +0100, Julien Olivain spake thusly:
> gpg key generation can take longer than the default timeout on a
> loaded or slow test host. The commit increase the timeout for the
> key generation command to prevent the test to randomly fail.
>
> Signed-off-by: Julien Olivain <ju.o at free.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> support/testing/tests/package/test_libgpgme.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/testing/tests/package/test_libgpgme.py b/support/testing/tests/package/test_libgpgme.py
> index 28a33bab03..b497891249 100644
> --- a/support/testing/tests/package/test_libgpgme.py
> +++ b/support/testing/tests/package/test_libgpgme.py
> @@ -37,7 +37,7 @@ class TestLibGpgme(infra.basetest.BRTest):
> # We now create our gpg key.
> cmd = "gpg --batch --passphrase ''"
> cmd += f" --quick-generate-key {gpg_userid} default default"
> - self.assertRunOk(cmd)
> + self.assertRunOk(cmd, timeout=30)
>
> # We should now see our key in the list.
> self.assertRunOk(gpgme_listkey)
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list