mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fixed tests
This commit is contained in:
parent
46ba649821
commit
c6eece5a03
@ -45,7 +45,7 @@ private:
|
||||
}
|
||||
else
|
||||
{
|
||||
push_condition.wait(queue_lock, [&](){ return is_finished || queue.size() < max_fill; });
|
||||
push_condition.wait(queue_lock, predicate);
|
||||
}
|
||||
|
||||
if (is_finished)
|
||||
|
@ -122,7 +122,7 @@ nuraft::ptr<nuraft::buffer> KeeperStateMachine::commit(const uint64_t log_idx, n
|
||||
LOG_DEBUG(log, "Session ID response {} with timeout {}", session_id, session_id_request.session_timeout_ms);
|
||||
response->session_id = session_id;
|
||||
if (!responses_queue.push(response_for_session))
|
||||
LOG_WARNING(log, "Could not push response {} into responses queue", session_id);
|
||||
throw Exception(ErrorCodes::SYSTEM_ERROR, "Could not push response with session id {} into responses queue", session_id);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user