From e29c35c3bbbbd32754b0b2dc9570ea1195358c61 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Mon, 10 Jan 2022 19:25:33 +0000 Subject: Added support for no warmup If warmup time is set to 0, there will be no warmup at all. Before this patch, generator was started and immediately stopped which could result in some packets sent. Signed-off-by: Xavier Simonart Change-Id: I7acada86c527bcde70ab0117b79f95208a382cdd --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'VNFs/DPPD-PROX') diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py index e004df87..2f121a52 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py @@ -110,6 +110,10 @@ class FlowSizeTest(RapidTest): WARMUPSPEED = self.test['warmupspeed'] WARMUPTIME = self.test['warmuptime'] + if WARMUPTIME == 0: + RapidLog.info(("Not Warming up")) + return + RapidLog.info(("Warming up during {} seconds..., packet size = {}," " flows = {}, speed = {}").format(WARMUPTIME, imix, FLOWSIZE, WARMUPSPEED)) -- cgit 1.2.3-korg