mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 06:27:39 +00:00
metrics: Reduce repeats for boot time tests on qemu
On qemu the run seems to error after ~4-7 runs, so try a cut down version of repetitions to see if this helps us get results in a stable way. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
0962cd95bc
commit
c69509be1c
@ -54,9 +54,14 @@ function make_tarball_results() {
|
||||
}
|
||||
|
||||
function run_test_launchtimes() {
|
||||
info "Running Launch Time test using ${KATA_HYPERVISOR} hypervisor"
|
||||
repetitions=20
|
||||
if [[ ${KATA_HYPERVISOR} == "qemu" ]]; then
|
||||
# The qemu workload seems to fail before it can run ~5-7 repetitions of the workload
|
||||
repetitions=3
|
||||
fi
|
||||
|
||||
bash tests/metrics/time/launch_times.sh -i public.ecr.aws/ubuntu/ubuntu:latest -n 20
|
||||
info "Running Launch Time test using ${KATA_HYPERVISOR} hypervisor"
|
||||
bash tests/metrics/time/launch_times.sh -i public.ecr.aws/ubuntu/ubuntu:latest -n "${repetitions}"
|
||||
}
|
||||
|
||||
function run_test_memory_usage() {
|
||||
|
Loading…
Reference in New Issue
Block a user