SDK: Implement WaitForExecutingAgents

* Require DDS 2.5.22
* Apply in meaningful places
* Adapt test fixture
This commit is contained in:
Dennis Klein
2019-07-24 14:25:50 +02:00
parent 388b1be056
commit dc55272317
5 changed files with 97 additions and 23 deletions

View File

@@ -61,10 +61,7 @@ struct TopologyFixture : ::testing::Test
LOG(info) << mDDSTopo;
auto n(mDDSTopo.GetNumRequiredAgents());
mDDSSession.SubmitAgents(n);
mDDSSession.WaitForIdleAgents(n);
mDDSSession.ActivateTopology(mDDSTopoFile);
std::this_thread::sleep_for(std::chrono::seconds(1)); // TODO implement WaitForActiveAgents
mDDSSession.RequestAgentInfo();
}
auto TearDown() -> void override {