This is an automated email from the ASF dual-hosted git repository.
SteNicholas pushed a commit to branch release-0.4
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git
The following commit(s) were added to refs/heads/release-0.4 by this push:
new 174c53e7 test: stabilize blob fallback read-limit check on release-0.4
(#549)
174c53e7 is described below
commit 174c53e7a12b83bfa0bb476350399568c32c0132
Author: Yonghao Fang <[email protected]>
AuthorDate: Wed Nov 11 12:57:56 2026 +0800
test: stabilize blob fallback read-limit check on release-0.4 (#549)
---
src/paimon/common/reader/blob_fallback_batch_reader_test.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/paimon/common/reader/blob_fallback_batch_reader_test.cpp
b/src/paimon/common/reader/blob_fallback_batch_reader_test.cpp
index a27ccd5b..ec0bc26d 100644
--- a/src/paimon/common/reader/blob_fallback_batch_reader_test.cpp
+++ b/src/paimon/common/reader/blob_fallback_batch_reader_test.cpp
@@ -324,6 +324,7 @@ TEST_F(BlobFallbackBatchReaderTest,
TestRejectsBatchExceedingReadLimit) {
// This mock ignores the context and returns two rows for a one-row
read/skip request.
auto oversized_reader =
std::make_unique<MockFileBatchReader>(MakeBlobStruct({"b0",
"b1"}), struct_type_, 1024);
+ oversized_reader->EnableRandomizeBatchSize(false);
std::vector<std::vector<BlobFallbackBatchReader::Segment>> groups;
groups.push_back(MakeGroup(
{SegmentSpec::File(covered ? BlobRows{"u0", "u1"} : BlobRows{"PH",
"PH"})}, 1024));