diff --git a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml index 5c9f126dd7..3fafbc312d 100644 --- a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml +++ b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml @@ -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 diff --git a/tests/metrics/gha-run.sh b/tests/metrics/gha-run.sh index 9ca6046491..c995e63005 100755 --- a/tests/metrics/gha-run.sh +++ b/tests/metrics/gha-run.sh @@ -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" diff --git a/tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh b/tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh index 696be2f035..d0f7fc009b 100755 --- a/tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh +++ b/tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh @@ -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}"