mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 08:56:32 +00:00
Merge pull request #8038 from GabyCT/topic/latency
metrics: Enable latency test in gha run script
This commit is contained in:
3
.github/workflows/run-metrics.yaml
vendored
3
.github/workflows/run-metrics.yaml
vendored
@@ -79,6 +79,9 @@ jobs:
|
|||||||
- name: run iperf test
|
- name: run iperf test
|
||||||
run: bash tests/metrics/gha-run.sh run-test-iperf
|
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 }}
|
- name: make metrics tarball ${{ matrix.vmm }}
|
||||||
run: bash tests/metrics/gha-run.sh make-tarball-results
|
run: bash tests/metrics/gha-run.sh make-tarball-results
|
||||||
|
|
||||||
|
@@ -97,6 +97,12 @@ function run_test_iperf() {
|
|||||||
check_metrics
|
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() {
|
function main() {
|
||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
@@ -110,6 +116,7 @@ function main() {
|
|||||||
run-test-tensorflow) run_test_tensorflow ;;
|
run-test-tensorflow) run_test_tensorflow ;;
|
||||||
run-test-fio) run_test_fio ;;
|
run-test-fio) run_test_fio ;;
|
||||||
run-test-iperf) run_test_iperf ;;
|
run-test-iperf) run_test_iperf ;;
|
||||||
|
run-test-latency) run_test_latency ;;
|
||||||
*) >&2 die "Invalid argument" ;;
|
*) >&2 die "Invalid argument" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user