mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add test for sdk::GroupByCollectionId(TopologyState)
This commit is contained in:
committed by
Dennis Klein
parent
acbf57d6f3
commit
870d0deae1
@@ -59,14 +59,27 @@ struct TopologyFixture : ::testing::Test
|
||||
auto n(mDDSTopo.GetNumRequiredAgents());
|
||||
mDDSSession.SubmitAgents(n);
|
||||
mDDSSession.ActivateTopology(mDDSTopo);
|
||||
|
||||
std::vector<sdk::DDSAgent> agents = mDDSSession.RequestAgentInfo();
|
||||
LOG(debug) << "##### AgentInfo:";
|
||||
LOG(debug) << "size: " << agents.size();
|
||||
for (const auto& a : agents) {
|
||||
LOG(debug) << a;
|
||||
}
|
||||
|
||||
std::vector<sdk::DDSTask> tasks = mDDSSession.RequestTaskInfo();
|
||||
LOG(debug) << "##### TaskInfo:";
|
||||
LOG(debug) << "size: " << tasks.size();
|
||||
for (const auto& t : tasks) {
|
||||
LOG(debug) << t;
|
||||
}
|
||||
|
||||
std::vector<sdk::DDSCollection> collections = mDDSTopo.GetCollections();
|
||||
LOG(debug) << "##### CollectionInfo:";
|
||||
LOG(debug) << "size: " << collections.size();
|
||||
for (const auto& c : collections) {
|
||||
LOG(debug) << c;
|
||||
}
|
||||
}
|
||||
|
||||
auto TearDown() -> void override {
|
||||
|
Reference in New Issue
Block a user