bugfix: stree test failed 36/68636/1
authorxudan <xudan16@huawei.com>
Mon, 14 Oct 2019 02:20:23 +0000 (22:20 -0400)
committerxudan <xudan16@huawei.com>
Mon, 14 Oct 2019 02:20:23 +0000 (22:20 -0400)
Shouldn't change the command from python to python3 to run stress test,
because this command is run in bottlenecks container and it hasn't transfer to
python3 yet.

Change-Id: I6875d855e75ae72e647e70c2feb34ed2cda38f15
Signed-off-by: xudan <xudan16@huawei.com>
etc/conf/bottlenecks_config.yml

index 13b7fd8..bd5e106 100644 (file)
@@ -49,7 +49,7 @@ bottlenecks:
   pre_condition:
     - 'cp {{images_dir}}/ubuntu-16.04-server-cloudimg-amd64-disk1.img {{image_file}}'
   cmds:
-    - 'python3 /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} False'
+    - 'python /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} False'
   post_condition:
     - 'mkdir -p {{result_dir}}'
     - 'cp /tmp/bottlenecks.log {{result_dir}}'