From b209a627120784d2b4db357969589cb955c0bf48 Mon Sep 17 00:00:00 2001 From: Guoqiang Ding Date: Thu, 2 Feb 2023 11:29:57 +0800 Subject: [PATCH] tests: fix relative path in stress tests --- stability/stressng_dockerfile/stressng.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stability/stressng_dockerfile/stressng.sh b/stability/stressng_dockerfile/stressng.sh index afc8bee89..bdd830091 100755 --- a/stability/stressng_dockerfile/stressng.sh +++ b/stability/stressng_dockerfile/stressng.sh @@ -8,10 +8,10 @@ set -o pipefail # General env 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}" -DOCKERFILE="${SCRIPT_PATH}/stressng_dockerfile/Dockerfile" +DOCKERFILE="${SCRIPT_PATH}/Dockerfile" IMAGE="docker.io/library/local-stressng:latest" CONTAINER_NAME="${CONTAINER_NAME:-stressng_test}"