mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
power_loadtest: kill any already-running autotest instances during setup
This commit is contained in:
parent
cbd2c6727f
commit
57d3b80e85
@ -76,6 +76,8 @@ class PowerLoadtest(Workload):
|
||||
raise WorkloadError(message.format(self.name))
|
||||
self.command = self._build_command()
|
||||
self.raw_output = None
|
||||
# make sure no other test is running
|
||||
self.device.execute('killall -9 autotest', check_exit_code=False)
|
||||
|
||||
def run(self, context):
|
||||
self.logger.debug(self.command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user