Add test_utils ODL startup opt-out support
[transportpce.git] / tests / transportpce_tests / tapi / test01_abstracted_topology.py
index 9f33dd822f3c9825818f96411a212d06ae0d57c2..3e3d99d002471dc2fb80e92aaa0a9d868eb01cbd 100644 (file)
@@ -147,7 +147,7 @@ class TransportTapitesting(unittest.TestCase):
         os.environ['JAVA_MAX_MEM'] = '4096M'
         cls.processes = test_utils.start_tpce()
         # TAPI feature is not installed by default in Karaf
-        if "USE_LIGHTY" not in os.environ or os.environ['USE_LIGHTY'] != 'True':
+        if "NO_ODL_STARTUP" not in os.environ or "USE_LIGHTY" not in os.environ or os.environ['USE_LIGHTY'] != 'True':
             print("installing tapi feature...")
             result = test_utils.install_karaf_feature("odl-transportpce-tapi")
             if result.returncode != 0: