fix some tapi functional tests issues 68/90768/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 26 Jun 2020 17:42:03 +0000 (19:42 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Fri, 26 Jun 2020 18:46:45 +0000 (20:46 +0200)
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie1ad96c87cd25e1739f1408d1fd540791908c2b3

tests/transportpce_tests/2.2.1/test_tapi.py

index b5796895cf8ee552542adcf46a8d235030bab796..773718def313dc7672d7c13f09138a1f27176e7d 100644 (file)
@@ -37,12 +37,13 @@ class TransportTapitesting(unittest.TestCase):
                 cls.init_failed = True
             print("Restarting OpenDaylight...")
             test_utils.shutdown_process(cls.processes[0])
-            cls.processes = test_utils.start_tpce()
+            cls.processes[0] = test_utils.start_karaf()
+            test_utils.process_list[0] = cls.processes[0]
             cls.init_failed = not test_utils.wait_until_log_contains(
                 test_utils.KARAF_LOG, test_utils.KARAF_OK_START_MSG, time_to_wait=60)
         if cls.init_failed:
-            print("tapi installaiton feature failed...")
-            test_utils.shutdown_process(cls.odl_processes[0])
+            print("tapi installation feature failed...")
+            test_utils.shutdown_process(cls.processes[0])
             sys.exit(2)
         cls.processes = test_utils.start_sims(['xpdra', 'roadma', 'roadmc', 'xpdrc', 'spdrav2'])