Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: d91314345f9ae322c3f6dd5e6dee8dda4f55abed
https://github.com/Checkmk/checkmk/commit/d91314345f9ae322c3f6dd5e6dee8dda4…
Author: Sergey Kipnis <sergey.kipnis(a)checkmk.com>
Date: 2023-08-30 (Wed, 30 Aug 2023)
Changed paths:
M tests/testlib/base.py
M tests/unit/checks/checktestlib.py
Log Message:
-----------
replace get_config_cache with reset_config_cache
Reasoning: get_config_cache may leak config data from
one test case to another. Such effect makes any test which
depending on config cache flaky.
Just opposite, the reset of the config cache may discover
badly written tests which requires config cache data
but do not provide it in setup
Change-Id: Ib70a4efb2f757f2990f11f9e360668410ebab166