Commit 5745daec authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

caddy-frontend/test: Be resistant for server process not started

parent f08ac0f1
......@@ -382,6 +382,8 @@ class SlaveHttpFrontendTestCase(HttpFrontendTestCase):
@classmethod
def stopServerProcess(cls):
if getattr(cls, 'server_process', None) is None:
return
cls.server_process.terminate()
cls.server_https_process.terminate()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment