mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
power_loadtest: kill any already-running autotest instances during setup
This commit is contained in:
@@ -76,6 +76,8 @@ class PowerLoadtest(Workload):
|
|||||||
raise WorkloadError(message.format(self.name))
|
raise WorkloadError(message.format(self.name))
|
||||||
self.command = self._build_command()
|
self.command = self._build_command()
|
||||||
self.raw_output = None
|
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):
|
def run(self, context):
|
||||||
self.logger.debug(self.command)
|
self.logger.debug(self.command)
|
||||||
|
Reference in New Issue
Block a user