Skip to content

Commit

Permalink
Merge "Partial-Bug: 1464016 During TearDown(), Delete BGP peers and t…
Browse files Browse the repository at this point in the history
…hen shutdown the server"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jul 29, 2015
2 parents 46f94f5 + 32328f2 commit 1ecb0c2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/bgp/test/bgp_stress_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -577,14 +577,7 @@ void BgpStressTest::TearDown() {
TcpServerManager::DeleteServer(xmpp_server_test_);
xmpp_server_test_ = NULL;

BOOST_FOREACH(BgpServerTest *peer_server, peer_servers_) {
if (peer_server) {
peer_server->Shutdown();
WaitForIdle();
delete peer_server;
}
}
WaitForIdle();
DeleteBgpPeers(n_peers_);
server_->Shutdown();
WaitForIdle();
Cleanup();
Expand Down

0 comments on commit 1ecb0c2

Please sign in to comment.