summaryrefslogtreecommitdiffstats
path: root/loadtest/TestMain.py
diff options
context:
space:
mode:
Diffstat (limited to 'loadtest/TestMain.py')
-rw-r--r--loadtest/TestMain.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/loadtest/TestMain.py b/loadtest/TestMain.py
index a9b57db..81c635f 100644
--- a/loadtest/TestMain.py
+++ b/loadtest/TestMain.py
@@ -54,7 +54,9 @@ def main(argv=None):
parser = OptionParser(version=program_version_string, epilog=program_longdesc, description=program_license)
parser.add_option("-d", "--duration", dest="duration", help="duration of soak test in seconds [default: %default]", type=int)
parser.add_option("-l", "--logfile", dest="logfile", help="Full path soak log file name")
- parser.set_defaults(duration="60", logfile="")
+ parser.add_option("-c", "--cyclelength", dest="cyclelength", help="Length of a single cycle through the config.\nMust be longer than a single iteration", type=int)
+ parser.add_option("-p", "--profile", dest="profile", help="Filename of json profile file")
+ parser.set_defaults(logfile="")
(opts, args) = parser.parse_args(argv)
if (opts.logfile != ""):