Skip to content

Commit

Permalink
fix: fix test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
dranikpg committed Nov 28, 2023
1 parent e2eb0b1 commit e35dbac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/test_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ static vector<string> SplitLines(const std::string& src) {
TestConnection::TestConnection(Protocol protocol, io::StringSink* sink)
: facade::Connection(protocol, nullptr, nullptr, nullptr), sink_(sink) {
cc_.reset(new dfly::ConnectionContext(sink_, this));
SetSocket(ProactorBase::me()->CreateSocket());
}

void TestConnection::SendPubMessageAsync(PubMessage pmsg) {
Expand Down

0 comments on commit e35dbac

Please sign in to comment.