aboutsummaryrefslogtreecommitdiffstats
path: root/logd/src/tests/watcher/watcher_test.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-05-09 15:13:25 +0200
committerGitHub <noreply@github.com>2019-05-09 15:13:25 +0200
commitb15422b415f6bb29c55d217d631a421d3c3c862f (patch)
tree006af8076e9c7f46d6adfacfdc09e10bbb1dc31a /logd/src/tests/watcher/watcher_test.cpp
parent54e9c858d1aa62dbcb97dcb2743e79d03d784334 (diff)
parent46885b2f72030a887c2787858929c8ed088fdaaf (diff)
Merge pull request #9342 from vespa-engine/geirst/remove-legacy-protocol-between-logd-and-logserver
Remove the legacy protocol between logd and logserver.
Diffstat (limited to 'logd/src/tests/watcher/watcher_test.cpp')
-rw-r--r--logd/src/tests/watcher/watcher_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/logd/src/tests/watcher/watcher_test.cpp b/logd/src/tests/watcher/watcher_test.cpp
index fffaac17058..9f7c476e101 100644
--- a/logd/src/tests/watcher/watcher_test.cpp
+++ b/logd/src/tests/watcher/watcher_test.cpp
@@ -57,18 +57,15 @@ ConfigFixture::~ConfigFixture() = default;
struct DummyForwarder : public Forwarder {
std::mutex lock;
std::condition_variable cond;
- std::atomic<int> sendModeCount;
std::vector<std::string> lines;
DummyForwarder()
: Forwarder(),
lock(),
cond(),
- sendModeCount(0),
lines()
{
}
~DummyForwarder() override = default;
- void sendMode() override { ++sendModeCount; }
void forwardLine(std::string_view log_line) override {
std::lock_guard guard(lock);
lines.emplace_back(log_line);