Commit 83d29228 authored by Alexandre's avatar Alexandre
Browse files

No delay if multistreams

parent 67cacec6
......@@ -985,6 +985,8 @@ if not monitoring:
except getopt.error as reason:
usage(reason)
sys.exit(1)
if delay is not None and multistreams:
error("--delay makes no sense with multistreams")
if tests <= 1 and delay is not None:
error("--delay makes no sense if there is no repetition")
if post and head:
......@@ -1196,7 +1198,7 @@ for connectTo in ip_set:
conn.perform_multi()
conn.first_handle = conn.all_handles[0]
start2 = time.time()
if delay is not None:
if delay is not None and not multistreams:
time.sleep(delay)
if multistreams:
conn.perform_multi()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment