aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2022-06-03 11:26:03 -0400
committerJohn Kacur <jkacur@redhat.com>2022-06-03 11:26:03 -0400
commite4a34238d40078e32a3619ba31884ae4ea86c925 (patch)
tree811aa92092dbb05f2b02722c297dea3784381824
parentddbff5f40845c64dbf40f8cbed018242d20abfcb (diff)
downloadrteval-e4a34238d40078e32a3619ba31884ae4ea86c925.tar.gz
rteval: stressng: The stressng option should not be a string
When rteval passes stressng a timeout option, it should not be stringified. Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--rteval/modules/loads/stressng.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rteval/modules/loads/stressng.py b/rteval/modules/loads/stressng.py
index d0772ce..fe97189 100644
--- a/rteval/modules/loads/stressng.py
+++ b/rteval/modules/loads/stressng.py
@@ -54,7 +54,8 @@ class Stressng(CommandLineLoad):
if self.cfg.arg is not None:
self.args.append(self.cfg.arg)
if self.cfg.timeout is not None:
- self.args.append('--timeout %s' % str(self.cfg.timeout))
+ self.args.append('--timeout')
+ self.args.append(self.cfg.timeout)
systop = SysTopology()
# get the number of nodes