Bug 1712994 - Remove block argument from wptserve consumers, r=whimboo,marionette-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D116104
This commit is contained in:
James Graham 2021-05-27 14:19:06 +00:00
parent 77a16b1cc6
commit d9d050317e
2 changed files with 3 additions and 3 deletions

View File

@ -123,10 +123,10 @@ class FixtureServer(object):
key_file=ssl_key,
)
def start(self, block=False):
def start(self):
if self.is_alive:
return
self._httpd.start(block=block)
self._httpd.start()
def wait(self):
if not self.is_alive:

View File

@ -75,7 +75,7 @@ class ServerProxy(multiprocessing.Process, BlockingChannel):
def run(self):
try:
server = self.init_func(*self.init_args, **self.init_kwargs)
server.start(block=False)
server.start()
self.send(("ok", ()))
while True: