aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_taskipy.py
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-03-19 23:39:24 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-03-21 13:37:29 -0400
commitb8148c4785787fd387a662aa1a40837f410b3f14 (patch)
tree1430adba89380921818329161c975a92174f5a71 /tests/test_taskipy.py
parentRemove tomli install test (diff)
downloadtaskipy2-b8148c4785787fd387a662aa1a40837f410b3f14.zip
Fix subprocess signal handling logic on linux with ash/dash
Certain shells will have optimizations which will 'exec' commands directly and not spawn a subprocess, which breaks our signal test on those systems.
Diffstat (limited to 'tests/test_taskipy.py')
-rw-r--r--tests/test_taskipy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_taskipy.py b/tests/test_taskipy.py
index f269ed3..e4c3827 100644
--- a/tests/test_taskipy.py
+++ b/tests/test_taskipy.py
@@ -412,7 +412,7 @@ class InterruptingTaskTestCase(TaskipyTestCase):
process.send_signal(signal.SIGTERM)
- exit_code = process.wait()
+ exit_code = process.wait(timeout=5000)
stdout, _ = process.communicate()
self.assertEqual(exit_code, 123)