mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
support/testing: gnupg2: increase a timeout
The symmetric encryption test can sometimes take longer than the default
timeout. This commit increase the timeout to 10 seconds for that
command.
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f44c0807c6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
4714693beb
commit
722c67da96
@@ -37,7 +37,7 @@ class TestGnupg2(infra.basetest.BRTest):
|
||||
# Test symmetric encrypt
|
||||
cmd = "gpg --batch --symmetric"
|
||||
cmd += " --passphrase '{}' {}".format(good_passphrase, plain_file)
|
||||
self.assertRunOk(cmd)
|
||||
self.assertRunOk(cmd, timeout=10)
|
||||
|
||||
# Test symmetric decrypt
|
||||
cmd = "gpg --batch --decrypt"
|
||||
|
||||
Reference in New Issue
Block a user