mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-18 16:08:25 +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)
|
# within (inclusive)
|
||||||
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||||
checktype = "mean"
|
checktype = "mean"
|
||||||
midval = 0.02
|
midval = 0.04
|
||||||
minpercent = 70.0
|
minpercent = 85.0
|
||||||
maxpercent = 60.0
|
maxpercent = 80.0
|
||||||
|
@ -57,7 +57,7 @@ function run_test_launchtimes() {
|
|||||||
repetitions=20
|
repetitions=20
|
||||||
if [[ ${KATA_HYPERVISOR} == "qemu" ]]; then
|
if [[ ${KATA_HYPERVISOR} == "qemu" ]]; then
|
||||||
# The qemu workload seems to fail before it can run ~5-7 repetitions of the workload
|
# The qemu workload seems to fail before it can run ~5-7 repetitions of the workload
|
||||||
repetitions=3
|
repetitions=2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "Running Launch Time test using ${KATA_HYPERVISOR} hypervisor"
|
info "Running Launch Time test using ${KATA_HYPERVISOR} hypervisor"
|
||||||
|
@ -186,8 +186,7 @@ function iperf3_start_deployment() {
|
|||||||
kubectl create -f "${IPERF_DEPLOYMENT}"
|
kubectl create -f "${IPERF_DEPLOYMENT}"
|
||||||
|
|
||||||
# Check deployment creation
|
# Check deployment creation
|
||||||
local cmd="kubectl wait --for=condition=Available deployment/iperf3-server-deployment"
|
local cmd="kubectl wait --for=condition=Available deployment/iperf3-server-deployment --timeout=${wait_time}s"
|
||||||
waitForProcess "${wait_time}" "${sleep_time}" "${cmd}"
|
|
||||||
|
|
||||||
# Create DaemonSet
|
# Create DaemonSet
|
||||||
kubectl create -f "${IPERF_DAEMONSET}"
|
kubectl create -f "${IPERF_DAEMONSET}"
|
||||||
|
Loading…
Reference in New Issue
Block a user