mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 11:44:38 +00:00
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 <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
893fd2b59c
commit
e3318a04f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user