Tests: wait more time on Unit closing.

This commit is contained in:
Andrey Zelenkov
2019-04-15 15:52:32 +03:00
parent 0f8a602c3c
commit b3179538ef

View File

@@ -219,7 +219,7 @@ class TestUnit(unittest.TestCase):
subprocess.call(['kill', '-s', 'QUIT', pid])
for i in range(50):
for i in range(150):
if not os.path.exists(self.testdir + '/unit.pid'):
break
time.sleep(0.1)