Skip to content
Snippets Groups Projects
Commit b73c4fc5 authored by Cosmin Mogos's avatar Cosmin Mogos Committed by Bogdan Stanca-Kaposta
Browse files

Fix for component allready running (AE2)

Always wait for the AE2 component to finish before continuing.

Affected test cases:
OneM2M_Testcases_CSE_Release_1
TC_CSE_SUB_CRE_001_SUB
TC_CSE_SUB_CRE_004
TC_CSE_SUB_CRE_005
TC_CSE_SUB_UPD_001
TC_CSE_SUB_DEL_001
OneM2M_Testcases_CSE_Release_2
TC_CSE_SUB_UPD_007
TC_CSE_SUB_NTF_001
TC_CSE_SUB_NTF_002
TC_CSE_SUB_NTF_003
TC_CSE_SUB_UPD_002
TC_CSE_SUB_DEL_002
TC_CSE_SUB_DEL_003
TC_CSE_SUB_UPD_003
TC_CSE_SUB_UPD_004
TC_CSE_SUB_UPD_005
TC_CSE_SUB_UPD_008
TC_CSE_SUB_UPD_009
TC_CSE_SUB_UPD_006
parent 9176ee90
No related branches found
No related tags found
1 merge request!26Fix for component allready running (AE2)
......@@ -421,6 +421,7 @@ module OneM2M_Functions {
v_resourceIndex := f_setResource(v_resource.resource, v_resource.resourceType, v_resource.parentIndex, false);
}
}
p_component.done;
f_disconnectInfoPort(p_component);
......@@ -693,6 +694,7 @@ module OneM2M_Functions {
p_createRequestPrimitive.primitiveContent.subscription.notificationURI := {f_getResourceAddress(p_ae2Index)};
}
vc_ae2.start(f_cse_notifyProcedure_subscriptionVerificationHandler(p_responseStatusCode));
vc_ae2.done;
  • vc_ae2.done cannot be added there because the subscription verification needs to be triggered from the other component

  • Please register or sign in to reply
}
}
......@@ -3404,6 +3406,7 @@ module OneM2M_Functions {
tc_ac.stop;
}
[] tc_ac.timeout {
p_ae.stop;
setverdict(inconc, __SCOPE__ & "INFO: Component did not finish");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment