From 5e3ded022f3aa6de7594c1dcd8708d70bfc12fec Mon Sep 17 00:00:00 2001 From: morganrol Date: Thu, 18 Mar 2021 18:16:51 +0100 Subject: [PNF] Extend timer before sending request to simulator Tests done on daily Guilin shows that the simulator takes some seconds to start, so we shoudl not send immediately the regsitration request to the simu A retry mechanism could be implemented meanwhile the extension of the timer seems to be enough Issue-ID: INT-1822 Signed-off-by: morganrol Change-Id: I648f3d3401206b79190b431d35f83c506788bfaa --- src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/onaptests') diff --git a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py index 7a0fbf2..a73f668 100644 --- a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py +++ b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py @@ -83,7 +83,7 @@ class PnfSimulatorCnfRegisterStep(BaseStep): super().execute() if not self.is_pnf_pod_running(): EnvironmentPreparationException("PNF simulator is not running") - time.sleep(5.0) # Let's still wait for PNF simulator to make sure it's initialized + time.sleep(30.0) # Let's still wait for PNF simulator to make sure it's initialized ves_ip, ves_port = self.get_ves_ip_and_port() response = requests.post( "http://portal.api.simpledemo.onap.org:30999/simulator/event", -- cgit 1.2.3-korg