Using f_sleep function instead of .start and .timeout

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent feaba577
...@@ -8185,7 +8185,6 @@ module OneM2M_Testcases_CSE { ...@@ -8185,7 +8185,6 @@ module OneM2M_Testcases_CSE {
var integer v_contentInstanceIndex1 := -1; var integer v_contentInstanceIndex1 := -1;
var integer v_contentInstanceIndex2 := -1; var integer v_contentInstanceIndex2 := -1;
var template PrimitiveContent v_contentResponse; var template PrimitiveContent v_contentResponse;
timer t_contentInstanceCreationGap;
// Test control // Test control
// Test component configuration // Test component configuration
...@@ -8200,8 +8199,8 @@ module OneM2M_Testcases_CSE { ...@@ -8200,8 +8199,8 @@ module OneM2M_Testcases_CSE {
v_contentInstanceIndex1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
t_contentInstanceCreationGap.start(1.0); f_sleep(1.0);
t_contentInstanceCreationGap.timeout;
v_contentInstanceIndex2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
v_contentResponse.contentInstance := mw_contentContentInstanceBase; v_contentResponse.contentInstance := mw_contentContentInstanceBase;
...@@ -16013,7 +16012,6 @@ module OneM2M_Testcases_CSE { ...@@ -16013,7 +16012,6 @@ module OneM2M_Testcases_CSE {
var integer v_contentInstanceIndex_1 := -1; var integer v_contentInstanceIndex_1 := -1;
var integer v_contentInstanceIndex_2 := -1; var integer v_contentInstanceIndex_2 := -1;
const ResourceType c_containerResourceType := int3; const ResourceType c_containerResourceType := int3;
timer t_contentInstanceCreationGap;
// Test control // Test control
...@@ -16029,8 +16027,7 @@ module OneM2M_Testcases_CSE { ...@@ -16029,8 +16027,7 @@ module OneM2M_Testcases_CSE {
v_contentInstanceIndex_1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex_1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
t_contentInstanceCreationGap.start(1.0); f_sleep(1.0);
t_contentInstanceCreationGap.timeout;
v_contentInstanceIndex_2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex_2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
...@@ -16158,7 +16155,6 @@ module OneM2M_Testcases_CSE { ...@@ -16158,7 +16155,6 @@ module OneM2M_Testcases_CSE {
var integer v_contentInstanceIndex_1 := -1; var integer v_contentInstanceIndex_1 := -1;
var integer v_contentInstanceIndex_2 := -1; var integer v_contentInstanceIndex_2 := -1;
const ResourceType c_containerResourceType := int3; const ResourceType c_containerResourceType := int3;
timer t_contentInstanceCreationGap;
// Test control // Test control
...@@ -16174,8 +16170,7 @@ module OneM2M_Testcases_CSE { ...@@ -16174,8 +16170,7 @@ module OneM2M_Testcases_CSE {
v_contentInstanceIndex_1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex_1 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
t_contentInstanceCreationGap.start(1.0); f_sleep(1.0);
t_contentInstanceCreationGap.timeout;
v_contentInstanceIndex_2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex); v_contentInstanceIndex_2 := f_cse_createResource(int4, m_createContentInstance_noResourceName, v_containerIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment