mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
Merge pull request #8038 from GabyCT/topic/latency
metrics: Enable latency test in gha run script
This commit is contained in:
commit
11cf0e2d28
3
.github/workflows/run-metrics.yaml
vendored
3
.github/workflows/run-metrics.yaml
vendored
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user