Add test_utils ODL startup opt-out support
[transportpce.git] / tests / transportpce_tests / with_docker / test03_tapi_nbinotifications.py
index b9537caf5da703a461974b1cc434a95dcf48374f..6b93e2173396340674c7eec2488a145be0768aa1 100644 (file)
@@ -147,7 +147,7 @@ class TransportNbiNotificationstesting(unittest.TestCase):
         os.environ['JAVA_MAX_MEM'] = '4096M'
         cls.processes = test_utils.start_tpce()
         # NBI notification 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 NBI notification feature...")
             result = test_utils.install_karaf_feature("odl-transportpce-nbinotifications")
             if result.returncode != 0: