Improve "Libvirt.virsh_destroy_vm" function 95/50695/17
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Tue, 16 Jan 2018 11:19:05 +0000 (11:19 +0000)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Wed, 21 Mar 2018 09:15:37 +0000 (09:15 +0000)
commit22df4ea07f46023ae07e75796a267b7a9d43cf58
tree44adf3b1f45f7ff209c6aac3ffa6a7e7994fd8d9
parent365ded3d2089fff98f4d8562fb277112b242645f
Improve "Libvirt.virsh_destroy_vm" function

Read the command exit code and log a warning in case the VM destroy
process went wrong.

JIRA: YARDSTICK-943

Change-Id: I2750b8d4a8f67af081c1988510cf5aca848a2cf1
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
yardstick/benchmark/contexts/standalone/model.py
yardstick/tests/unit/benchmark/contexts/standalone/test_model.py