summaryrefslogtreecommitdiffstats
path: root/messagebus_test/src/tests/trace/trace.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-24 14:58:49 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-28 15:04:29 +0200
commit237865038f13701e47199c6474ce82a90ffb0706 (patch)
treeb6f79da45f25f6a519ce39cbf59da45785e54f72 /messagebus_test/src/tests/trace/trace.cpp
parent10751c1edd819792d499131cd549fd972accc2de (diff)
- Use C++11 for loops.
- Detangle some includes and include what you need. - Refactor to subclass to avoid code duplication. - Add config for compression too. - V1 up to 142, V2 above.
Diffstat (limited to 'messagebus_test/src/tests/trace/trace.cpp')
-rw-r--r--messagebus_test/src/tests/trace/trace.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/messagebus_test/src/tests/trace/trace.cpp b/messagebus_test/src/tests/trace/trace.cpp
index 96759f286b8..a653c4934b3 100644
--- a/messagebus_test/src/tests/trace/trace.cpp
+++ b/messagebus_test/src/tests/trace/trace.cpp
@@ -1,6 +1,5 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/log/log.h>
-LOG_SETUP("trace_test");
+
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/messagebus/testlib/slobrok.h>
@@ -21,6 +20,9 @@ LOG_SETUP("trace_test");
#include <vespa/messagebus/testlib/simpleprotocol.h>
#include <iostream>
+#include <vespa/log/log.h>
+LOG_SETUP("trace_test");
+
using namespace mbus;
using vespalib::make_string;