SDK: Do not always stop the session on destruction

This commit is contained in:
Dennis Klein
2019-07-19 20:54:44 +02:00
committed by Dennis Klein
parent 7aa95fcd93
commit 5a7bf68c8c
3 changed files with 7 additions and 6 deletions

View File

@@ -61,11 +61,13 @@ struct TopologyFixture : ::testing::Test
LOG(info) << mDDSEnv;
LOG(info) << mDDSSession;
mDDSSession.SubmitAgents(2);
std::this_thread::sleep_for(std::chrono::seconds(1));
std::this_thread::sleep_for(std::chrono::seconds(1)); // TODO implement WaitForIdleAgents
mDDSSession.ActivateTopology(mDDSTopologyFile);
}
auto TearDown() -> void override {}
auto TearDown() -> void override {
mDDSSession.Stop();
}
LoggerConfig mLoggerConfig;
std::string mDDSTopologyFile;