test: fix and unskip test_migration_timeout_on_sync (#4216)

This commit is contained in:
Borys 2024-11-28 14:54:17 +02:00 committed by GitHub
parent 90b4fea0d9
commit dc04b196d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -88,7 +88,7 @@ size_t JournalStreamer::GetTotalBufferCapacities() const {
void JournalStreamer::Write(std::string_view str) {
DCHECK(!str.empty());
DVLOG(2) << "Writing " << str.size() << " bytes";
DVLOG(3) << "Writing " << str.size() << " bytes";
size_t total_pending = pending_buf_.size() + str.size();
@ -132,7 +132,7 @@ void JournalStreamer::Write(std::string_view str) {
void JournalStreamer::OnCompletion(std::error_code ec, size_t len) {
DCHECK_GE(in_flight_bytes_, len);
DVLOG(2) << "Completing from " << in_flight_bytes_ << " to " << in_flight_bytes_ - len;
DVLOG(3) << "Completing from " << in_flight_bytes_ << " to " << in_flight_bytes_ - len;
in_flight_bytes_ -= len;
if (ec && !IsStopped()) {
cntx_->ReportError(ec);