diff options
author | morganrol <morgan.richomme@orange.com> | 2021-03-18 18:16:51 +0100 |
---|---|---|
committer | morganrol <morgan.richomme@orange.com> | 2021-03-18 18:32:06 +0100 |
commit | 5e3ded022f3aa6de7594c1dcd8708d70bfc12fec (patch) | |
tree | 81351fa8e8d780afb5a4225b42e668755386c8ba /src | |
parent | 21e709c2619d78eae77fa4c63f0f48127aac8a25 (diff) |
[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 <morgan.richomme@orange.com>
Change-Id: I648f3d3401206b79190b431d35f83c506788bfaa
Diffstat (limited to 'src')
-rw-r--r-- | src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py | 2 |
1 files changed, 1 insertions, 1 deletions
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", |