From e3318a04f7adee4870e5d81c7992d685799dd2df Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Wed, 26 Jun 2024 18:45:11 +0000 Subject: [PATCH] metrics: Update container name in blogbench test This PR updates the container name to put a random name instead of using a hard coded name. This PR is a general improvement to avoid random bug failures specially when we are running on baremetal environments. Signed-off-by: Gabriela Cervantes --- tests/metrics/storage/blogbench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/metrics/storage/blogbench.sh b/tests/metrics/storage/blogbench.sh index c5913f9315..621bd14f5c 100755 --- a/tests/metrics/storage/blogbench.sh +++ b/tests/metrics/storage/blogbench.sh @@ -40,7 +40,7 @@ function main() { metrics_json_init info "Running Blogbench test" - local output=$(sudo -E ${CTR_EXE} run --rm --runtime=${CTR_RUNTIME} ${IMAGE} test ${CMD}) + local output=$(sudo -E ${CTR_EXE} run --rm --runtime=${CTR_RUNTIME} ${IMAGE} $(random_name) ${CMD}) # Save configuration metrics_json_start_array