mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
Merge pull request #11010 from stevenhorsman/metrics-containerd-debugging
metrics: Test improvements
This commit is contained in:
commit
5d68600c06
@ -211,6 +211,6 @@ description = "iperf"
|
||||
# within (inclusive)
|
||||
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||
checktype = "mean"
|
||||
midval = 0.02
|
||||
minpercent = 70.0
|
||||
maxpercent = 60.0
|
||||
midval = 0.04
|
||||
minpercent = 85.0
|
||||
maxpercent = 80.0
|
||||
|
@ -57,7 +57,7 @@ function run_test_launchtimes() {
|
||||
repetitions=20
|
||||
if [[ ${KATA_HYPERVISOR} == "qemu" ]]; then
|
||||
# The qemu workload seems to fail before it can run ~5-7 repetitions of the workload
|
||||
repetitions=3
|
||||
repetitions=2
|
||||
fi
|
||||
|
||||
info "Running Launch Time test using ${KATA_HYPERVISOR} hypervisor"
|
||||
|
@ -186,8 +186,7 @@ function iperf3_start_deployment() {
|
||||
kubectl create -f "${IPERF_DEPLOYMENT}"
|
||||
|
||||
# Check deployment creation
|
||||
local cmd="kubectl wait --for=condition=Available deployment/iperf3-server-deployment"
|
||||
waitForProcess "${wait_time}" "${sleep_time}" "${cmd}"
|
||||
local cmd="kubectl wait --for=condition=Available deployment/iperf3-server-deployment --timeout=${wait_time}s"
|
||||
|
||||
# Create DaemonSet
|
||||
kubectl create -f "${IPERF_DAEMONSET}"
|
||||
|
Loading…
Reference in New Issue
Block a user