Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhangxian1008 committed Feb 7, 2023
1 parent 153a3b6 commit 5102a16
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ struct MockReceiverContext
grpc::CompletionQueue *,
UnaryCallback<bool> *) const {}

static ExchangePacketReaderPtr makeReader(const Request &) { return nullptr; }
std::shared_ptr<Reader> makeReader(const Request &)
{
return std::make_shared<Reader>(queue);
}

static std::tuple<MPPTunnelPtr, grpc::Status> establishMPPConnectionLocalV1(const ::mpp::EstablishMPPConnectionRequest *, const std::shared_ptr<MPPTaskManager> &)
{
Expand Down

0 comments on commit 5102a16

Please sign in to comment.