File: test_extra_time.patch

package info (click to toggle)
snakemake 7.32.4-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,832 kB
  • sloc: python: 32,846; javascript: 1,287; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (31 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Allow more time for test*_cancelscript*

They were failing on riscv64 because
the SIGINT was before they'd finished loading

(the different times for the two tests are to get more information
if this fails, I expect them to load in similar amounts of time)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

--- a/tests/tests.py
+++ b/tests/tests.py
@@ -131,7 +131,7 @@ def test_cluster_cancelscript():
         ),
         shouldfail=True,
         cleanup=False,
-        sigint_after=4,
+        sigint_after=20,
     )
     scancel_txt = open("%s/scancel.txt" % outdir).read()
     scancel_lines = scancel_txt.splitlines()
@@ -160,7 +160,7 @@ def test_cluster_cancelscript_nargs1():
         ),
         shouldfail=True,
         cleanup=False,
-        sigint_after=4,
+        sigint_after=40,
     )
     scancel_txt = open("%s/scancel.txt" % outdir).read()
     scancel_lines = scancel_txt.splitlines()