Bug fix of Bottlenecks can't use CLI
[bottlenecks.git] / testsuites / posca / testcase_script / posca_factor_ping.py
index 5f56cda..e46a919 100644 (file)
@@ -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":