X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blobdiff_plain;f=tests%2Ftransportpce_tests%2Ftapi%2Ftest01_abstracted_topology.py;h=9f33dd822f3c9825818f96411a212d06ae0d57c2;hp=9394a24ee4831080254877aaacc52b21c79376e4;hb=1117122d374d4b39605912765957ff2182803f70;hpb=c6b93e8d8dd5a5597ca891140212229d99431614 diff --git a/tests/transportpce_tests/tapi/test01_abstracted_topology.py b/tests/transportpce_tests/tapi/test01_abstracted_topology.py index 9394a24ee..9f33dd822 100644 --- a/tests/transportpce_tests/tapi/test01_abstracted_topology.py +++ b/tests/transportpce_tests/tapi/test01_abstracted_topology.py @@ -152,6 +152,12 @@ class TransportTapitesting(unittest.TestCase): result = test_utils.install_karaf_feature("odl-transportpce-tapi") if result.returncode != 0: cls.init_failed = True + print("Restarting OpenDaylight...") + test_utils.shutdown_process(cls.processes[0]) + 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 installation feature failed...") test_utils.shutdown_process(cls.processes[0])