Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "auto restart influxdb and grafana support"
[yardstick.git]
/
yardstick
/
benchmark
/
scenarios
/
availability
/
attacker
/
attacker_process.py
diff --git
a/yardstick/benchmark/scenarios/availability/attacker/attacker_process.py
b/yardstick/benchmark/scenarios/availability/attacker/attacker_process.py
index
e0e6cf3
..
f7ab23d
100644
(file)
--- a/
yardstick/benchmark/scenarios/availability/attacker/attacker_process.py
+++ b/
yardstick/benchmark/scenarios/availability/attacker/attacker_process.py
@@
-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!")