From 517b97bfccdbf5948ec2fa88edc1b13831823074 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Sun, 9 Jan 2022 19:35:22 +0000 Subject: Added sleep_time optional configuration in rapid This can for instance be useful to ensure that inter-iteration time is higher than SUT switch max_idle time. Signed-off-by: Xavier Simonart Change-Id: I3a94b022f4d38e0c97d5cbd343b36a9a3ed5fd9e --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py index 2f121a52..0a1f3748 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py @@ -32,12 +32,13 @@ class FlowSizeTest(RapidTest): Class to manage the flowsizetesting """ def __init__(self, test_param, lat_percentile, runtime, testname, - environment_file, gen_machine, sut_machine, background_machines): + environment_file, gen_machine, sut_machine, background_machines, sleep_time): super().__init__(test_param, runtime, testname, environment_file) self.gen_machine = gen_machine self.sut_machine = sut_machine self.background_machines = background_machines self.test['lat_percentile'] = lat_percentile + self.test['sleep_time'] = sleep_time if self.test['test'] == 'TST009test': # This test implements some of the testing as defined in # https://docbox.etsi.org/ISG/NFV/open/Publications_pdf/Specs-Reports/NFV-TST%20009v3.2.1%20-%20GS%20-%20NFVI_Benchmarks.pdf -- cgit 1.2.3-korg