diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-03 21:45:53 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-12-04 18:26:06 +0000 |
commit | b8e151a435ccec1ecc03d98bac5b59f4f14514be (patch) | |
tree | 140efda301a7e5adc407c44061ba5b0bb41dd212 /messagebus/src/tests/routable/routable.cpp | |
parent | 7700f411ea6f4a3e7c0599fae239ec84c18c0038 (diff) |
timeout as duration
Conflicts:
messagebus/src/vespa/messagebus/testlib/testserver.cpp
Diffstat (limited to 'messagebus/src/tests/routable/routable.cpp')
-rw-r--r-- | messagebus/src/tests/routable/routable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/messagebus/src/tests/routable/routable.cpp b/messagebus/src/tests/routable/routable.cpp index a7a35508656..88db25fa9c7 100644 --- a/messagebus/src/tests/routable/routable.cpp +++ b/messagebus/src/tests/routable/routable.cpp @@ -73,7 +73,7 @@ Test::Main() msg.pushHandler(handler); msg.discard(); - Reply::UP reply = handler.getReply(0); + Reply::UP reply = handler.getReply(duration::zero()); ASSERT_FALSE(reply); } { @@ -86,7 +86,7 @@ Test::Main() reply.swapState(msg); reply.discard(); - Reply::UP ap = handler.getReply(0); + Reply::UP ap = handler.getReply(duration::zero()); ASSERT_FALSE(ap); } |