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>
This commit is contained in:
parent
bdcd5adf39
commit
f44c0807c6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user