mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fix assert in test, revert debug message
This commit is contained in:
parent
d0bb985061
commit
2b01711565
@ -104,14 +104,8 @@ void Lz4DeflatingWriteBuffer::nextImpl()
|
||||
if (LZ4F_isError(compressed_size))
|
||||
throw Exception(
|
||||
ErrorCodes::LZ4_ENCODER_FAILED,
|
||||
"LZ4 failed to encode stream. LZ4F version: {}, CodeName: {},"
|
||||
" in_capacity: {}, out_capacity: {}, cur_buffer_size: {}, min_compressed_block_size: {}",
|
||||
LZ4F_VERSION,
|
||||
LZ4F_getErrorName(compressed_size),
|
||||
in_capacity,
|
||||
out_capacity,
|
||||
cur_buffer_size,
|
||||
min_compressed_block_size);
|
||||
"LZ4 failed to encode stream. LZ4F version: {}",
|
||||
LZ4F_VERSION);
|
||||
|
||||
in_capacity -= cur_buffer_size;
|
||||
in_data = reinterpret_cast<void *>(working_buffer.end() - in_capacity);
|
||||
|
@ -165,5 +165,5 @@ def test_upload_s3_fail_upload_part_when_multi_part_upload(
|
||||
assert count_create_multi_part_uploads == 1
|
||||
assert count_upload_parts >= 2
|
||||
assert (
|
||||
count_s3_errors == 2
|
||||
) # the second is cancel multipart upload, s3_mock just redirects this request
|
||||
count_s3_errors >= 2
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user