Skip to content

Commit

Permalink
test: fix //test/common/upstream:cluster_manager_impl_test_lib.
Browse files Browse the repository at this point in the history
Was broken by interaction of envoyproxy#1521 and envoyproxy#1570.
  • Loading branch information
htuch committed Aug 31, 2017
1 parent 34c0098 commit 7357f1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/common/upstream/cluster_manager_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,12 @@ TEST_F(ClusterManagerImplTest, HttpHealthChecker) {
}
)EOF";

Json::ObjectSharedPtr loader = Json::Factory::loadFromString(json);
Network::MockClientConnection* connection = new NiceMock<Network::MockClientConnection>();
EXPECT_CALL(
factory_.dispatcher_,
createClientConnection_(PointeesEq(Network::Utility::resolveUrl("tcp://127.0.0.1:11001")), _))
.WillOnce(Return(connection));
create(*loader);
create(parseBootstrapFromJson(json));
factory_.tls_.shutdownThread();
}

Expand Down

0 comments on commit 7357f1e

Please sign in to comment.