summaryrefslogtreecommitdiff
path: root/validation/test/P2P_throughput
diff options
context:
space:
mode:
authorJean-Philippe NOEL2012-09-27 14:34:44 +0200
committerJean-Philippe NOEL2012-10-05 09:46:09 +0200
commit3da6f987019a10dd0d5534d8fa3658f148f1cee1 (patch)
treec8457f3cff2c66753caf77e77f42fadd01c12b8b /validation/test/P2P_throughput
parent1812d1025e94c31090700efb706b8184fd334eae (diff)
validation: simplify the token management, refs #3363
Diffstat (limited to 'validation/test/P2P_throughput')
-rw-r--r--validation/test/P2P_throughput/P2P_throughput.py1
-rw-r--r--validation/test/P2P_throughput/P2P_throughput_caller.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/validation/test/P2P_throughput/P2P_throughput.py b/validation/test/P2P_throughput/P2P_throughput.py
index 8c7c7381b6..72c3eae7da 100644
--- a/validation/test/P2P_throughput/P2P_throughput.py
+++ b/validation/test/P2P_throughput/P2P_throughput.py
@@ -94,6 +94,7 @@ def report(new_config):
# Make all the measurements
if config["make_measurements"] == True:
+ iperf.check_tokens()
write_bench_data()
iperf.clean_traces()
t0 = time.time()
diff --git a/validation/test/P2P_throughput/P2P_throughput_caller.py b/validation/test/P2P_throughput/P2P_throughput_caller.py
index 3efb92add7..38b6d9665b 100644
--- a/validation/test/P2P_throughput/P2P_throughput_caller.py
+++ b/validation/test/P2P_throughput/P2P_throughput_caller.py
@@ -29,8 +29,8 @@ class P2P_throughput_caller:
parameters as the template (""" + \
self.example_file_name + """).\n""" + \
"""
- The tokens must be set before generating the report and cleared when the
- test bench is released."""
+ The tokens must be set on the two iperf hosts before making the
+ measurements and cleared when the bench is released."""
self._commands = dict((n[4:], getattr(self, n))
for n in dir(self) if n.startswith('run_'))