]> git.ipfire.org Git - thirdparty/collectd.git/commit
cpu plugin: Remove tests for `usage_global_ratio` and `usage_global_count`.
authorFlorian Forster <octo@collectd.org>
Wed, 10 Jan 2024 16:57:15 +0000 (17:57 +0100)
committerFlorian Forster <octo@collectd.org>
Mon, 22 Jan 2024 15:07:57 +0000 (16:07 +0100)
commit1ac636ea2836efdb79e4dcbd532c36d6bc49b274
treefcfbd96e6098c323ebbc3aeb1599290c29df658d
parentefc37d46fb6beb77589813a7b0bf74fc6879256c
cpu plugin: Remove tests for `usage_global_ratio` and `usage_global_count`.

The functionality is tested in the test cases for `usage_ratio` and
`usage_count` and there is no need to test these separately. The opposite: the
rest of the CPU plugin only uses `usage_ratio` and `usage_count`, so testing
the global variants leaks abstraction.
src/cpu_test.c