From: Florian Forster Date: Sat, 16 Dec 2023 18:09:47 +0000 (+0100) Subject: format_json: Fix unit test. X-Git-Tag: 6.0.0-rc0~18^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266f2a78d3f14915a54255042a4402ce3e24f7e1;p=thirdparty%2Fcollectd.git format_json: Fix unit test. --- diff --git a/src/utils/format_json/format_json_test.c b/src/utils/format_json/format_json_test.c index cde4edd4f..5479bdb9a 100644 --- a/src/utils/format_json/format_json_test.c +++ b/src/utils/format_json/format_json_test.c @@ -321,7 +321,7 @@ DEF_TEST(open_telemetry) { "{\"resourceMetrics\":[{\"resource\":{\"attributes\":[{\"key\":\"service." "name\",\"value\":{\"stringValue\":\"unit " "test\"}}]},\"scopeMetrics\":[{\"scope\":{\"name\":\"collectd\"," - "\"version\":\"5.12.0.383.ge714589+\"},\"metrics\":[{\"name\":\"unit." + "\"version\":\"" PACKAGE_VERSION "\"},\"metrics\":[{\"name\":\"unit." "test.count\",\"description\":\"Example counter " "metric\",\"sum\":{\"dataPoints\":[{\"attributes\":[{\"key\":\"metric." "label\",\"value\":{\"stringValue\":\"bar\"}}],\"timeUnixNano\":0,"