Browse Source

Increase test timeouts

Christoph Biedl 8 months ago
parent
commit
f5a44c9691

+ 24 - 0
debian/patches/for-upstream/2021-12-01.increase-test-timeout.patch

@@ -0,0 +1,24 @@
+Subject: Increase timeout values in the test suite
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2021-12-01
+Forwarded: https://github.com/latchset/jose/issues/110
+
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -37,14 +37,14 @@
+   if p == 'api_b64'
+     to = 1800
+   else
+-    to = 30
++    to = 180
+   endif
+   test(p, exe, timeout: to)
+ endforeach
+ 
+ foreach s: scripts
+   exe = find_program('./' + s)
+-  test(s, exe, env: e, timeout: 60)
++  test(s, exe, env: e, timeout: 900)
+ endforeach
+ 
+ subdir('issue-75')

+ 1 - 0
debian/patches/series

@@ -4,6 +4,7 @@
 # patches for upstream
 for-upstream/2021-12-01.replace-usage-of-which.patch
 for-upstream/2021-12-01.probe-for-jq.patch
+for-upstream/2021-12-01.increase-test-timeout.patch
 
 # patches for Debian
 debian/2021-11-29.use-asciidoctor-to-build-manpages.patch