This is an automated email from the ASF dual-hosted git repository.
kangkaisen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new d1a7f1d Fix column_reader_writer_test UT (#4924)
d1a7f1d is described below
commit d1a7f1d2c6e7e8f0f9c0f95da20fdfa50f297f7e
Author: Lijia Liu <[email protected]>
AuthorDate: Fri Nov 20 09:47:01 2020 +0800
Fix column_reader_writer_test UT (#4924)
---
be/test/olap/rowset/segment_v2/column_reader_writer_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/test/olap/rowset/segment_v2/column_reader_writer_test.cpp
b/be/test/olap/rowset/segment_v2/column_reader_writer_test.cpp
index 5caaa22..c0481af 100644
--- a/be/test/olap/rowset/segment_v2/column_reader_writer_test.cpp
+++ b/be/test/olap/rowset/segment_v2/column_reader_writer_test.cpp
@@ -234,7 +234,7 @@ void test_array_nullable_data(Collection* src_data,
uint8_t* src_is_null, int nu
{
std::unique_ptr<fs::WritableBlock> wblock;
fs::CreateBlockOptions opts({ fname });
- Status st = fs::fs_util::block_mgr_for_ut()->create_block(opts,
&wblock);
+ Status st = fs::fs_util::block_manager()->create_block(opts, &wblock);
ASSERT_TRUE(st.ok()) << st.get_error_msg();
ColumnWriterOptions writer_opts;
@@ -292,7 +292,7 @@ void test_array_nullable_data(Collection* src_data,
uint8_t* src_is_null, int nu
st = reader->new_iterator(&iter);
ASSERT_TRUE(st.ok());
std::unique_ptr<fs::ReadableBlock> rblock;
- fs::BlockManager* block_manager = fs::fs_util::block_mgr_for_ut();
+ fs::BlockManager* block_manager = fs::fs_util::block_manager();
st = block_manager->open_block(fname, &rblock);
ASSERT_TRUE(st.ok());
ColumnIteratorOptions iter_opts;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]