mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Implement linger for ofi
This reduces test runtime significantly for most transports
This commit is contained in:
committed by
Dennis Klein
parent
a1b7efa2f4
commit
b45e4da2a9
@@ -57,6 +57,7 @@ class PairLeft : public FairMQDevice
|
||||
if (counter == 6) LOG(info) << "Simple message with short text data successfull";
|
||||
|
||||
assert(counter == 6);
|
||||
if (counter == 6) LOG(info) << "PAIR test successfull.";
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -55,9 +55,6 @@ class PairRight : public FairMQDevice
|
||||
auto msg6(NewSimpleMessageFor("data", 0, "testdata1234"));
|
||||
if (Send(msg6, "data") >= 0) counter++;
|
||||
if (counter == 6) LOG(info) << "Simple message with short text data successfull";
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
if (counter == 6) LOG(info) << "PAIR test successfull.";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -65,4 +62,4 @@ class PairRight : public FairMQDevice
|
||||
} // namespace mq
|
||||
} // namespace fair
|
||||
|
||||
#endif /* FAIR_MQ_TEST_PAIRRIGHT_H */
|
||||
#endif /* FAIR_MQ_TEST_PAIRRIGHT_H */
|
||||
|
Reference in New Issue
Block a user