aboutsummaryrefslogtreecommitdiffstats
path: root/logd/src/tests/watcher/watcher_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-02-15 14:00:27 +0000
committerArne Juul <arnej@verizonmedia.com>2021-02-15 14:16:24 +0000
commitc02de46e70468a74fe6614f54ea67cd122c5e065 (patch)
treed205facef02f7c9a5fa7293f55d0d8e7484ea686 /logd/src/tests/watcher/watcher_test.cpp
parent2cb6609c2f9fec73ac67faaeb32bce13c7316f0d (diff)
use size literals in logd
Diffstat (limited to 'logd/src/tests/watcher/watcher_test.cpp')
-rw-r--r--logd/src/tests/watcher/watcher_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logd/src/tests/watcher/watcher_test.cpp b/logd/src/tests/watcher/watcher_test.cpp
index f74564b23f4..2ba27091181 100644
--- a/logd/src/tests/watcher/watcher_test.cpp
+++ b/logd/src/tests/watcher/watcher_test.cpp
@@ -7,6 +7,7 @@
#include <vespa/vespalib/io/fileutil.h>
#include <vespa/vespalib/util/threadstackexecutor.h>
#include <vespa/vespalib/util/lambdatask.h>
+#include <vespa/vespalib/util/size_literals.h>
#include <fstream>
#include <regex>
#include <thread>
@@ -127,7 +128,7 @@ public:
};
WatcherTest::WatcherTest()
- : _executor(1, 256 * 1024)
+ : _executor(1, 256_Ki)
{
remove_files();
setenv("VESPA_LOG_TARGET", "file:vespa.log", true);