summaryrefslogtreecommitdiffstats
path: root/messagebus/src/tests/sourcesession/sourcesession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/src/tests/sourcesession/sourcesession.cpp')
-rw-r--r--messagebus/src/tests/sourcesession/sourcesession.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/messagebus/src/tests/sourcesession/sourcesession.cpp b/messagebus/src/tests/sourcesession/sourcesession.cpp
index a7fde7f28e0..24d99f5d44f 100644
--- a/messagebus/src/tests/sourcesession/sourcesession.cpp
+++ b/messagebus/src/tests/sourcesession/sourcesession.cpp
@@ -1,4 +1,7 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#include <vespa/fastos/fastos.h>
+#include <vespa/log/log.h>
+LOG_SETUP("sourcesession_test");
#include <vespa/messagebus/destinationsession.h>
#include <vespa/messagebus/error.h>
@@ -31,7 +34,7 @@ struct DelayedHandler : public IMessageHandler
~DelayedHandler() {
session.reset();
}
- void handleMessage(Message::UP msg) override {
+ virtual void handleMessage(Message::UP msg) override {
// this will block the transport thread in the server messagebus,
// but that should be ok, as we only want to test the timing in the
// client messagebus...