From 3e2326cff15768801e1211c267e650a8e668e8ce Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 18 Apr 2018 16:02:37 +0300 Subject: Tests: graceful shutdown. --- test/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit.py') 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'): -- cgit