Delay execution of the first PCE functional test 53/108453/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Mon, 16 Oct 2023 09:04:36 +0000 (11:04 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 16 Oct 2023 09:04:36 +0000 (11:04 +0200)
It appears that the controller is not fully started when running this
first functional test. Delay a litle bit its execution to avoid false
negative results on the CI.

JIRA: TRNSPRTPCE-767
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic3b25448be5eb0058a078594d2317351d3872d23

tests/transportpce_tests/pce/test01_pce.py

index 32886a613376970a88e7b4217570e4db301c70d0..a1b1b94839fc55e1480a02202ac45ff78b1d2438 100644 (file)
@@ -55,6 +55,7 @@ class TransportPCEtesting(unittest.TestCase):
     def setUpClass(cls):
         # pylint: disable=bare-except
         sample_files_parsed = False
+        time.sleep(10)
         try:
             TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
                                             "..", "..", "sample_configs", "honeynode-topo.json")