From 5102a1650aa42904bc37688cfdc5dac830e9ed92 Mon Sep 17 00:00:00 2001 From: xzhangxian1008 Date: Tue, 7 Feb 2023 16:45:48 +0800 Subject: [PATCH] fix ut --- .../Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp b/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp index b911ca5855e..d6d1097d720 100644 --- a/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp +++ b/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp @@ -249,7 +249,10 @@ struct MockReceiverContext grpc::CompletionQueue *, UnaryCallback *) const {} - static ExchangePacketReaderPtr makeReader(const Request &) { return nullptr; } + std::shared_ptr makeReader(const Request &) + { + return std::make_shared(queue); + } static std::tuple establishMPPConnectionLocalV1(const ::mpp::EstablishMPPConnectionRequest *, const std::shared_ptr &) {