1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads/monoperf: Fix typos

This commit is contained in:
Marc Bonnici 2019-07-08 16:16:55 +01:00 committed by setrofim
parent c092128e94
commit 564738a2ad

View File

@ -36,7 +36,6 @@ class Mongoperf(Workload):
.. note:: ``mongoperf`` seems to ramp up threads in powers of two over a .. note:: ``mongoperf`` seems to ramp up threads in powers of two over a
period of tens of seconds (there doesn't appear to be a way to period of tens of seconds (there doesn't appear to be a way to
change that). Bear this in mind when setting the ``duration``. change that). Bear this in mind when setting the ``duration``.
""" """
parameters = [ parameters = [
@ -71,7 +70,6 @@ class Mongoperf(Workload):
system, and can use normal file system cache. Use mmf in system, and can use normal file system cache. Use mmf in
this mode to test file system cache behavior with memory this mode to test file system cache behavior with memory
mapped files. mapped files.
"""), """),
Parameter('read', kind=bool, default=True, Parameter('read', kind=bool, default=True,
aliases=['r'], aliases=['r'],
@ -107,7 +105,7 @@ class Mongoperf(Workload):
try: try:
self.target.execute('mongoperf -h') self.target.execute('mongoperf -h')
except TargetError: except TargetError:
raise WorkloadError('Mongoperf must be installed an in $PATH on the target.') raise WorkloadError('Mongoperf must be installed and in $PATH on the target.')
def setup(self, context): def setup(self, context):
config = {} config = {}