def _pollService(self, container, service, port, wait_time):
    # Based on start_order the service should already be running
    service_ip = self.containers[service].get_ip_address()
    self.log.info('Starting %s: waiting for service %s on ip %s and port %s', container, service, service_ip, port)            
    
    result = utils.waitForService(service_ip, int(port), wait_time)
    if 0 < result:
      self.log.error('Never found service %s on port %s', service, port)
      raise ContainerError("Couldn't find required services, aborting")

    return service_ip + ":" + str(port)
dataset/ETHPy150Open kstaken/dockermix/dockermix/dockermix.py/ContainerMix._pollService/swapped operands of `<`