Skip to content

Commit aac6240

Browse files
authored
fix: fix unstable prefetch reader case (alibaba#336)
1 parent 0da726b commit aac6240

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/paimon/common/reader/prefetch_file_batch_reader_impl_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ TEST_F(PrefetchFileBatchReaderImplTest, SetReadRangesReturnErrorWhenPushDownFail
488488
data_array, data_type_, batch_size,
489489
/*read_ranges=*/{{0, 50}, {50, 100}},
490490
/*need_prefetch=*/true,
491-
/*set_read_ranges_statuses=*/{Status::OK(), Status::IOError("set read ranges failed")});
491+
/*set_read_ranges_statuses=*/
492+
{Status::IOError("set read ranges failed"), Status::IOError("set read ranges failed")});
492493

493494
ASSERT_OK_AND_ASSIGN(
494495
auto reader,

0 commit comments

Comments
 (0)