def wait_for_log_message(self, message):
        timeout = time.time() + 60
        while timeout < time.time():
            time.sleep(1)
            if self.log_contains(message):
                return
        self.fail('Expected message: \'{0}\' was not found in log.'
                  .format(message))
dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/rest-service/manager_rest/test/security/test_userstore_and_roles_reload.py/TestUserstoreReloadFile.wait_for_log_message/swapped operands of `<`