mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Add periodic etcd scraping to integration tests
.. to help understand where and why things go bad.
This commit is contained in:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user