Message ID | 20240207194428.591147-1-ju.o@free.fr |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] support/testing: gnupg2: increase a timeout | expand |
On Wed, 7 Feb 2024 20:44:28 +0100 Julien Olivain <ju.o@free.fr> wrote: > 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> > --- > support/testing/tests/package/test_gnupg2.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes: > 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> Committed to 2023.02.x and 2023.11.x, thanks.
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"
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> --- support/testing/tests/package/test_gnupg2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)