Add periodic etcd scraping to integration tests

.. to help understand where and why things go bad.
This commit is contained in:
Mike Spreitzer
2021-11-05 19:58:48 +00:00
parent cb040e5097
commit dc07025470
2 changed files with 31 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ runTests() {
kube::log::status "Starting etcd instance"
CLEANUP_REQUIRED=1
kube::etcd::start
# shellcheck disable=SC2034
local ETCD_SCRAPE_PID # Set in kube::etcd::start_scraping, used in cleanup
kube::etcd::start_scraping
kube::log::status "Running integration test cases"
make -C "${KUBE_ROOT}" test \