Merge pull request #8038 from GabyCT/topic/latency

metrics: Enable latency test in gha run script
This commit is contained in:
GabyCT 2023-09-22 16:57:53 -06:00 committed by GitHub
commit 11cf0e2d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,9 @@ jobs:
- name: run iperf test
run: bash tests/metrics/gha-run.sh run-test-iperf
- name: run latency test
run: bash tests/metrics/gha-run.sh run-test-latency
- name: make metrics tarball ${{ matrix.vmm }}
run: bash tests/metrics/gha-run.sh make-tarball-results

View File

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