HA testcase improvement
[yardstick.git] / yardstick / benchmark / scenarios / availability / attacker / attacker_process.py
index e0e6cf3..f7ab23d 100644 (file)
@@ -66,3 +66,5 @@ class ProcessAttacker(BaseAttacker):
             exit_status, stdout, stderr = self.connection.execute(
                 "sudo /bin/bash -s {0} ".format(self.service_name),
                 stdin=stdin_file)
+        if exit_status:
+            LOG.info("Fail to restart service!")