Skip to contentSkip to conversation

support/testing: gnupg2: increase a timeout

PATCH Applied Julien Olivain 3 participants 3 messages Feb 7, 2024 – Mar 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 support/testing/tests/package/test_gnupg2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/test_gnupg2.py +1 -1
index 4505e1c339..2b18f54fa3 100644
@@ -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"
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Wed, 7 Feb 2024 20:44:28 +0100 Julien Olivain <[email protected]> wrote:

The symmetric encryption test can sometimes take longer than the default timeout. This commit increase the timeout to 10 seconds for that command.

---
 support/testing/tests/package/test_gnupg2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Julien Olivain
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Olivain <[email protected]> writes:

The symmetric encryption test can sometimes take longer than the default timeout. This commit increase the timeout to 10 seconds for that command.

Committed to 2023.02.x and 2023.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot