server-utils: report server ready state
This commit is contained in:
parent
7630ae7c27
commit
9d1df6251c
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ class ServerBase(object):
|
|||
"seconds. cmd: `{}`".format(
|
||||
self.__class__.__name__, timeout, self.command))
|
||||
|
||||
print('Server of {} ready at url {}'.format(
|
||||
self.__class__.__name__, status_url))
|
||||
|
||||
def shutdown(self):
|
||||
self.process.kill()
|
||||
self.server_out.flush()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue