Add test_utils ODL startup opt-out support
[transportpce.git] / tests / transportpce_tests / tapi / test03_tapi_device_change_notifications.py
index 2a4f3f2925851ee1dc588861eb8ab7db9c89c81a..13a68b209a361ea300d1baf85ecb0513e51b1440 100644 (file)
@@ -113,7 +113,7 @@ class TransportPCEFulltesting(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: