Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: c98452d4767bd840a2d3b14d489651a9170fa2c8
https://github.com/Checkmk/checkmk/commit/c98452d4767bd840a2d3b14d489651a91…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu.py
Log Message:
-----------
kube_cpu: test should not be sensitive to precise value of USAGE
`check_with_utilization` computed the utilization in a different manner
than the test. This caused the test to fail most of the time, if
trailing digits of `USAGE` were modified.
CMK-9463
Change-Id: Ie9b587ffc63a707f5157d346edb77c59c451a645
Commit: 095703a08c6a4dafdd4283f9dc6d62a9e5c169ba
https://github.com/Checkmk/checkmk/commit/095703a08c6a4dafdd4283f9dc6d62a9e…
Author: Solomon Jacobs <solomon.jacobs(a)checkmk.com>
Date: 2023-08-31 (Thu, 31 Aug 2023)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu.py
Log Message:
-----------
kube_cpu: inline global variables
The naming OK, CRIT, WARN was misleading, since they looked like enums.
Moreover, these variables would couple some tests, which are independent.
CMK-9463
Change-Id: I50a216ea638c4a56b54a8e68fc0d3ffd81ff2271
Compare:
https://github.com/Checkmk/checkmk/compare/4a725968e515...095703a08c6a