mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add timeout test, disable for now
This commit is contained in:
committed by
Dennis Klein
parent
be022cfab8
commit
7d1ee82c6b
@@ -26,6 +26,7 @@
|
||||
namespace fair {
|
||||
namespace mq {
|
||||
|
||||
// TODO make this a struct with a readable string error msg
|
||||
enum class AsyncOpResult {
|
||||
Ok,
|
||||
Timeout,
|
||||
@@ -70,7 +71,7 @@ class Topology
|
||||
/// @brief Initiate state transition on all FairMQ devices in this topology
|
||||
/// @param t FairMQ device state machine transition
|
||||
/// @param cb Completion callback
|
||||
auto ChangeState(TopologyTransition t, ChangeStateCallback cb, const std::chrono::milliseconds& timeout = std::chrono::milliseconds(0)) -> void;
|
||||
auto ChangeState(TopologyTransition t, ChangeStateCallback cb, std::chrono::milliseconds timeout = std::chrono::milliseconds(0)) -> void;
|
||||
|
||||
static const std::unordered_map<DeviceTransition, DeviceState, tools::HashEnum<DeviceTransition>> fkExpectedState;
|
||||
|
||||
|
Reference in New Issue
Block a user