summaryrefslogtreecommitdiffstats
path: root/messagebus/src/tests/routable/routable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/src/tests/routable/routable.cpp')
-rw-r--r--messagebus/src/tests/routable/routable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/messagebus/src/tests/routable/routable.cpp b/messagebus/src/tests/routable/routable.cpp
index 88db25fa9c7..5b1d14a657b 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(duration::zero());
+ Reply::UP reply = handler.getReplyNow();
ASSERT_FALSE(reply);
}
{
@@ -86,7 +86,7 @@ Test::Main()
reply.swapState(msg);
reply.discard();
- Reply::UP ap = handler.getReply(duration::zero());
+ Reply::UP ap = handler.getReplyNow();
ASSERT_FALSE(ap);
}