Message ID | 20220603161224.10947-7-jkacur@redhat.com |
---|---|
State | New |
Headers | show |
Series | [1/7] rteval: rteval-cmd: Use "with" with open | expand |
diff --git a/rteval/modules/loads/stressng.py b/rteval/modules/loads/stressng.py index d0772ce77662..fe97189d3816 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
When rteval passes stressng a timeout option, it should not be stringified. Signed-off-by: John Kacur <jkacur@redhat.com> --- rteval/modules/loads/stressng.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)