summaryrefslogtreecommitdiffstats
path: root/slobrok
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-06-08 09:39:00 +0000
committerArne Juul <arnej@verizonmedia.com>2021-06-08 09:39:00 +0000
commit5891efd9ec89f8cd2b6b22b4594d4ee583ac6ea6 (patch)
treea48999feea6dc5873650bdaf61cbb4c6239f4e9f /slobrok
parenta812eeaabeabae10e875500577bbf0f19c5802db (diff)
try to avoid valgrind complaints during shutdown
Diffstat (limited to 'slobrok')
-rw-r--r--slobrok/src/tests/registerapi/registerapi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/slobrok/src/tests/registerapi/registerapi.cpp b/slobrok/src/tests/registerapi/registerapi.cpp
index 59bc4690985..696812e2a3d 100644
--- a/slobrok/src/tests/registerapi/registerapi.cpp
+++ b/slobrok/src/tests/registerapi/registerapi.cpp
@@ -6,6 +6,7 @@
#include <vespa/slobrok/sbregister.h>
#include <vespa/slobrok/server/slobrokserver.h>
#include <vespa/fnet/frt/supervisor.h>
+#include <vespa/fnet/transport.h>
#include <sstream>
#include <algorithm>
#include <thread>
@@ -217,5 +218,6 @@ Test::Main()
.add("F/y/w", myspec.c_str())));
mock.stop();
+ server.shutdown();
TEST_DONE();
}