Merge pull request #11010 from stevenhorsman/metrics-containerd-debugging

metrics: Test improvements
This commit is contained in:
RuoqingHe 2025-03-25 11:38:28 +08:00 committed by GitHub
commit 5d68600c06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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}"