Add test_utils ODL startup opt-out support
[transportpce.git] / tests / transportpce_tests / tapi / test02_full_topology.py
index 64ddc4394aaf18ebb88f6ba268ba8b65b6dd6c38..10ec7bf07bf3892ece459150e9fd220e54e0574e 100644 (file)
@@ -104,7 +104,7 @@ class TransportPCEtesting(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: