mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Tests.SDK: Reduce timeout by factor 1000 because new machines can be fast enough to complete within 1ms
This commit is contained in:
parent
5e6ad47223
commit
0f5e1b6815
|
@ -464,7 +464,7 @@ class BasicTopology : public AsioBase<Executor, Allocator>
|
|||
}
|
||||
}
|
||||
|
||||
using Duration = std::chrono::milliseconds;
|
||||
using Duration = std::chrono::microseconds;
|
||||
using ChangeStateCompletionSignature = void(std::error_code, TopologyState);
|
||||
|
||||
private:
|
||||
|
|
|
@ -361,7 +361,7 @@ TEST_F(Topology, AsyncSetPropertiesTimeout)
|
|||
|
||||
topo.AsyncSetProperties({{"key1", "val1"}},
|
||||
"",
|
||||
std::chrono::milliseconds(1),
|
||||
std::chrono::microseconds(1),
|
||||
[=](std::error_code ec, sdk::FailedDevices) mutable {
|
||||
LOG(info) << ec;
|
||||
EXPECT_EQ(ec, MakeErrorCode(ErrorCode::OperationTimeout));
|
||||
|
|
Loading…
Reference in New Issue
Block a user