summaryrefslogtreecommitdiff
path: root/dumb-init.sleep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dumb-init.sleep.patch')
-rw-r--r--dumb-init.sleep.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dumb-init.sleep.patch b/dumb-init.sleep.patch
new file mode 100644
index 0000000..b98861a
--- /dev/null
+++ b/dumb-init.sleep.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/child_processes_test.py b/tests/child_processes_test.py
+index d04bf3a..d478974 100644
+--- a/tests/child_processes_test.py
++++ b/tests/child_processes_test.py
+@@ -80,7 +80,7 @@ def spawn_process_which_dies_with_children():
+ # we need to sleep before the shell exits, or dumb-init might send
+ # TERM to print_signals before it has had time to register custom
+ # signal handlers
+- '{python} -m testing.print_signals & sleep 0.1'.format(
++ '{python} -m testing.print_signals & sleep 1'.format(
+ python=sys.executable,
+ ),
+ ),