* [Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout
@ 2024-02-10 12:25 Julien Olivain
2024-02-11 17:27 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2024-02-10 12:25 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
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@free.fr>
---
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@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout
2024-02-10 12:25 [Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout Julien Olivain
@ 2024-02-11 17:27 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-02-11 17:27 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
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@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@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. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-11 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-10 12:25 [Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout Julien Olivain
2024-02-11 17:27 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox