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:
Julien Olivain 2024-02-07 20:44:28 +01:00 committed by Thomas Petazzoni
parent bdcd5adf39
commit f44c0807c6

View File

@ -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"