summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_script
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-07-17 17:45:38 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2017-07-18 01:34:26 +0000
commitd31e40fdf62cecd272ec7811d9205ea6916594f9 (patch)
treec230d38b666aa7f8ec20aa84407fbd747f379bf4 /testsuites/posca/testcase_script
parent1fd4046eacef68412f65ac888646c14999fa8236 (diff)
Bug fix of Bottlenecks can't use CLI
JIRA: BOTTLENECK-171 Bug fix of Bottlenecks can't use CLI to start test. Some docker-compose function delete to fit elk docker support. After this patch you could use bottlenecks testcase run posca_factor_ping to start this test. you also need to put the rc file to bottlenecks docker. Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3 Signed-off-by: liyin <liyin11@huawei.com> (cherry picked from commit 75f99aaeadada56dfc974746cd83fec275133a3c)
Diffstat (limited to 'testsuites/posca/testcase_script')
-rw-r--r--testsuites/posca/testcase_script/posca_factor_ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/posca/testcase_script/posca_factor_ping.py b/testsuites/posca/testcase_script/posca_factor_ping.py
index 5f56cdae..e46a919f 100644
--- a/testsuites/posca/testcase_script/posca_factor_ping.py
+++ b/testsuites/posca/testcase_script/posca_factor_ping.py
@@ -67,8 +67,8 @@ def do_test(test_config, con_dic):
loop_walue = 0
while loop_walue < 150:
time.sleep(2)
+ loop_walue = loop_walue + 1
with open(out_file) as f:
- loop_walue = loop_walue + 1
data = json.load(f)
if data["status"] == 1:
if data["result"]["criteria"] == "PASS":