bug-fix: k8s capacity test name 41/62041/1
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Mon, 10 Sep 2018 09:24:54 +0000 (17:24 +0800)
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Mon, 10 Sep 2018 09:24:54 +0000 (17:24 +0800)
JIRA: BOTTLENECK-242

TEST_CASE is wrongly defined. Spaces should be deleted
in order to make the right defination for shell.

Change-Id: I981e80af8fc8dfd9f375b44b205f7478e0d4f260
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
jjb/bottlenecks/bottlenecks-run-suite.sh

index 59116cb..9b5e8ee 100644 (file)
@@ -148,7 +148,7 @@ if [[ $SUITE_NAME == *posca* ]]; then
     ${testcase_cmd} >$redirect
 elif [[ $SUITE_NAME == *kubestone* ]]; then
     if [[ $SUITE_NAME == kubestone_deployment_capacity ]]; then
-        TEST_CASE = ${KUBESTONE_TEST_DIR}/deployment_capacity.yaml
+        TEST_CASE=${KUBESTONE_TEST_DIR}/deployment_capacity.yaml
     fi
     testcase_cmd="docker exec bottlenecks-load-master python ${KUBESTONE_TEST_DIR}/../stress_test.py -c $TEST_CASE"
     echo "BOTTLENECKS INFO: running test case ${TEST_CASE} with report indicator: ${testcase_cmd}"