Fixed the meta-app STC scenario; apps loaded from disk won't implicitly deactivate.
Change-Id: If54a739b474e34c2943629d0a85d614a41a42243
diff --git a/tools/test/scenarios/meta-apps-test.xml b/tools/test/scenarios/meta-apps-test.xml
index f405ded..dce48a8 100644
--- a/tools/test/scenarios/meta-apps-test.xml
+++ b/tools/test/scenarios/meta-apps-test.xml
@@ -16,8 +16,13 @@
<scenario name="meta-apps"
description="Openflow provider activate/deactivate test">
<group name="Meta-App">
+ <step name="InitialDeactivateOpenflowMetaApp"
+ exec="onos ${OCI} onos:app deactivate org.onosproject.openflow org.onosproject.hostprovider org.onosproject.lldpprovider org.onosproject.openflow-base"/>
+ <step name="InitialActivateOpenflowMetaApp" requires="InitialDeactivateOpenflowMetaApp"
+ exec="onos ${OCI} onos:app activate org.onosproject.openflow"/>
+
<!-- Check initial state of openflow apps -->
- <group name="MetaAppInitialVerification">
+ <group name="MetaAppInitialVerification" requies="InitialActivateOpenflowMetaApp">
<parallel var="${OC#}" starts="MetaAppTest.FindOpenflowInitial-${#}" ends="MetaAppTest.CheckLldpProviderInitial-${#-1}">
<step name="MetaAppTest.FindOpenflowInitial-${#}"
exec="onos-find-app ${OC#} org.onosproject.openflow openflowAppInitial" />