Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Framework/Core/include/Framework/DataProcessingHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ struct DataProcessingHelpers {
static TransitionHandlingState updateStateTransition(ServiceRegistryRef const& ref, ProcessingPolicies const& policies);
/// Helper to route messages for forwarding
static std::vector<fair::mq::Parts> routeForwardedMessages(FairMQDeviceProxy& proxy,
std::vector<MessageSet>& currentSetOfInputs,
const bool copyByDefault, bool consume);
std::vector<MessageSet>& currentSetOfInputs,
const bool copyByDefault, bool consume);
};
} // namespace o2::framework
#endif // O2_FRAMEWORK_DATAPROCESSINGHELPERS_H_
1 change: 0 additions & 1 deletion Framework/Core/test/test_ForwardInputs.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ TEST_CASE("ForwardInputsSingleMessageSingleRouteAtEOS")
REQUIRE(messageSet.size() == 1);
currentSetOfInputs.emplace_back(std::move(messageSet));


auto result = o2::framework::DataProcessingHelpers::routeForwardedMessages(proxy, currentSetOfInputs, copyByDefault, consume);
REQUIRE(result.size() == 1); // One route
REQUIRE(result[0].Size() == 0); // FIXME: this is an actual error. It should be 2. However it cannot really happen.
Expand Down