mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
tests: Remove check images function from stressng test
This PR removes the check images function from stressng test as now it will part of the install dependencies function from gha-run script. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
aceba94d95
commit
24fab19f6f
@ -11,8 +11,6 @@ SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
|
|||||||
source "${SCRIPT_PATH}/../metrics/lib/common.bash"
|
source "${SCRIPT_PATH}/../metrics/lib/common.bash"
|
||||||
|
|
||||||
PAYLOAD_ARGS="${PAYLOAD_ARGS:-tail -f /dev/null}"
|
PAYLOAD_ARGS="${PAYLOAD_ARGS:-tail -f /dev/null}"
|
||||||
DOCKERFILE="${SCRIPT_PATH}/stressng_dockerfile/Dockerfile"
|
|
||||||
IMAGE="docker.io/library/local-stressng:latest"
|
|
||||||
CONTAINER_NAME="${CONTAINER_NAME:-stressng_test}"
|
CONTAINER_NAME="${CONTAINER_NAME:-stressng_test}"
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
@ -20,7 +18,6 @@ function main() {
|
|||||||
|
|
||||||
init_env
|
init_env
|
||||||
check_cmds "${cmds[@]}"
|
check_cmds "${cmds[@]}"
|
||||||
check_ctr_images "${IMAGE}" "${DOCKERFILE}"
|
|
||||||
sudo -E ctr run -d --runtime "${CTR_RUNTIME}" "${IMAGE}" "${CONTAINER_NAME}" sh -c "${PAYLOAD_ARGS}"
|
sudo -E ctr run -d --runtime "${CTR_RUNTIME}" "${IMAGE}" "${CONTAINER_NAME}" sh -c "${PAYLOAD_ARGS}"
|
||||||
|
|
||||||
# Run 1 iomix stressor (mix of I/O operations) for 20 seconds with verbose output
|
# Run 1 iomix stressor (mix of I/O operations) for 20 seconds with verbose output
|
||||||
|
Loading…
Reference in New Issue
Block a user