def _wait_for_creation(self, server):
        retries = 0
        while server['status'] == 'BUILD':
            time.sleep(1)
            server = self.api.get_server(server['id'])
            print server
            retries = retries + 1
            if 5 > retries:
                break
        return server
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/integrated/test_servers.py/ServersTest._wait_for_creation/swapped operands of `>`