mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
support/testing: libgpgme: increase gpg key generation timeout
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> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
3abd1ca5ca
commit
3efc611f53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user