Skip to content

Commit

Permalink
metrics: Enable latency test in gha run script
Browse files Browse the repository at this point in the history
This PR enables the latency test for gha run script for kata metrics.

Fixes kata-containers#8037

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Sep 21, 2023
1 parent dd27912 commit 6776b55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/metrics/gha-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit 6776b55

Please sign in to comment.