Skip to content

Commit

Permalink
Merge pull request kata-containers#8038 from GabyCT/topic/latency
Browse files Browse the repository at this point in the history
metrics: Enable latency test in gha run script
  • Loading branch information
GabyCT authored Sep 22, 2023
2 parents 3ef57b3 + 08bc8e4 commit 11cf0e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
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 11cf0e2

Please sign in to comment.