From f44c0807c63f0bdd9640b7b29c131590f03be0ca Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Wed, 7 Feb 2024 20:44:28 +0100 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- support/testing/tests/package/test_gnupg2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/testing/tests/package/test_gnupg2.py b/support/testing/tests/package/test_gnupg2.py index 4505e1c339..2b18f54fa3 100644 --- a/support/testing/tests/package/test_gnupg2.py +++ b/support/testing/tests/package/test_gnupg2.py @@ -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"