aboutsummaryrefslogtreecommitdiff
path: root/src/zennet/statsdclient.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2026-03-09 19:06:36 -0700
committerLiam Mitchell <[email protected]>2026-03-09 19:06:36 -0700
commitd1abc50ee9d4fb72efc646e17decafea741caa34 (patch)
treee4288e00f2f7ca0391b83d986efcb69d3ba66a83 /src/zennet/statsdclient.cpp
parentAllow requests with invalid content-types unless specified in command line or... (diff)
parentupdated chunk–block analyser (#818) (diff)
downloadzen-d1abc50ee9d4fb72efc646e17decafea741caa34.tar.xz
zen-d1abc50ee9d4fb72efc646e17decafea741caa34.zip
Merge branch 'main' into lm/restrict-content-type
Diffstat (limited to 'src/zennet/statsdclient.cpp')
-rw-r--r--src/zennet/statsdclient.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zennet/statsdclient.cpp b/src/zennet/statsdclient.cpp
index fe5ca4dda..8afa2e835 100644
--- a/src/zennet/statsdclient.cpp
+++ b/src/zennet/statsdclient.cpp
@@ -12,6 +12,7 @@
ZEN_THIRD_PARTY_INCLUDES_START
#include <zencore/windows.h>
#include <asio.hpp>
+#undef SendMessage
ZEN_THIRD_PARTY_INCLUDES_END
namespace zen {
@@ -379,6 +380,8 @@ statsd_forcelink()
{
}
+TEST_SUITE_BEGIN("net.statsdclient");
+
TEST_CASE("zennet.statsd.emit")
{
// auto Client = CreateStatsDaemonClient("localhost", 8125);
@@ -458,6 +461,8 @@ TEST_CASE("zennet.statsd.batch")
}
}
+TEST_SUITE_END();
+
#endif
} // namespace zen