From 6776b55d7e2aaa27827df83e3b15d47da2181901 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Thu, 21 Sep 2023 16:11:58 +0000 Subject: [PATCH] metrics: Enable latency test in gha run script This PR enables the latency test for gha run script for kata metrics. Fixes #8037 Signed-off-by: Gabriela Cervantes --- tests/metrics/gha-run.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/metrics/gha-run.sh b/tests/metrics/gha-run.sh index 4076ad7ff7..4f08488215 100755 --- a/tests/metrics/gha-run.sh +++ b/tests/metrics/gha-run.sh @@ -97,6 +97,12 @@ function run_test_iperf() { check_metrics } +function run_test_latency() { + info "Running Latency test using ${KATA_HYPERVISOR} hypervisor" + + bash tests/metrics/network/latency_kubernetes/latency-network.sh +} + function main() { action="${1:-}" case "${action}" in @@ -110,6 +116,7 @@ function main() { run-test-tensorflow) run_test_tensorflow ;; run-test-fio) run_test_fio ;; run-test-iperf) run_test_iperf ;; + run-test-latency) run_test_latency ;; *) >&2 die "Invalid argument" ;; esac }