'Wait for this server to come up'

def wait_up(self, timeout=10, http=False):

    if http:
        return wait_for_http_server(self.url, timeout=timeout)
    else:
        return wait_for_server(self._connect_ip, self._connect_port, timeout=timeout)
