summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-04-18 16:02:37 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-04-18 16:02:37 +0300
commit3e2326cff15768801e1211c267e650a8e668e8ce (patch)
treef23071aafe8f7db426187071ee6880d65a8cf0a4 /test
parentab4f86799635077f3144456de59d3b7487a2bce0 (diff)
downloadunit-3e2326cff15768801e1211c267e650a8e668e8ce.tar.gz
unit-3e2326cff15768801e1211c267e650a8e668e8ce.tar.bz2
Tests: graceful shutdown.
Diffstat (limited to 'test')
-rw-r--r--test/unit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit.py b/test/unit.py
index 8bbc619d..f1b66221 100644
--- a/test/unit.py
+++ b/test/unit.py
@@ -102,7 +102,7 @@ class TestUnit(unittest.TestCase):
with open(self.testdir + '/unit.pid', 'r') as f:
pid = f.read().rstrip()
- call(['kill', pid])
+ call(['kill', '-s', 'QUIT', pid])
for i in range(50):
if not os.path.exists(self.testdir + '/unit.pid'):