diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-04-18 16:02:37 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-04-18 16:02:37 +0300 |
commit | 3e2326cff15768801e1211c267e650a8e668e8ce (patch) | |
tree | f23071aafe8f7db426187071ee6880d65a8cf0a4 /test | |
parent | ab4f86799635077f3144456de59d3b7487a2bce0 (diff) | |
download | unit-3e2326cff15768801e1211c267e650a8e668e8ce.tar.gz unit-3e2326cff15768801e1211c267e650a8e668e8ce.tar.bz2 |
Tests: graceful shutdown.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit.py | 2 |
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'): |