Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] support/testing: libgpgme: increase gpg key generation timeout
Date: Sun, 11 Feb 2024 18:27:27 +0100	[thread overview]
Message-ID: <ZckDf-jmI3SwJuFZ@landeda> (raw)
In-Reply-To: <20240210122552.1001346-1-ju.o@free.fr>

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

      reply	other threads:[~2024-02-11 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZckDf-jmI3SwJuFZ@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox