

@utils.Timeout()
@utils.Repeat()
def _waitForServerStartup(self):
    self.server.poll()
    if (self.server.returncode is not None):
        self._waitForErrLines()
        message = 'Server process unexpectedly died; stderr: {0}'
        failMessage = message.format(''.join(message.getErrLines()))
        assert False, failMessage
    return (not self.isRunning())

dataset/ETHPy150Open ga4gh/server/tests/end_to_end/server.py ServerForTesting._waitForServerStartup/VarMisuse@66/96 `self`->`message`