Fix unit test
authorAleksei Zakharov <zakharov.a.g@yandex.ru>
Wed, 11 Oct 2017 17:15:30 +0000 (17:15 +0000)
committerAleksei Zakharov <zakharov.a.g@yandex.ru>
Wed, 11 Oct 2017 17:17:18 +0000 (17:17 +0000)
".sum" is not cutted in parse_keys() now.

src/ceph_test.c

index 2f65b50..4546773 100644 (file)
@@ -123,7 +123,7 @@ DEF_TEST(traverse_json) {
       {"WBThrottle.ios_wb.type", "2"},
       {"WBThrottle.inodes_dirtied.type", "2"},
       {"WBThrottle.inodes_wb.type", "10"},
-      {"filestore.journal_wr_bytes", "3117"},
+      {"filestore.journal_wr_bytes.sum", "3117"},
       {"filestore.example_latency.avgcount", "42"},
       {"filestore.example_latency.sum", "4711"},
   };