diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-28 07:41:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-28 07:41:14 +0000 |
commit | d57857d0d43ecd8871bdee6b5d00da620191ff08 (patch) | |
tree | a2269d55278723973a0bb73b78e7eb6814b07e17 /dumb-init.sleep.patch | |
parent | 906e18e06d50f4b021998b26fe5b24e1e2e68024 (diff) |
automatic import of dumb-initopeneuler20.03
Diffstat (limited to 'dumb-init.sleep.patch')
-rw-r--r-- | dumb-init.sleep.patch | 13 |
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, + ), + ), |