fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38146?usp=email )


Change subject: s1gw: add TC_e_rab_setup3 (3 E-RABs at a time)
......................................................................

s1gw: add TC_e_rab_setup3 (3 E-RABs at a time)

The idea is to verify setup and release of 3 E-RABs at a time.

Change-Id: I6a0a10f826309d8a952c77c23170df3d201e7640
---
M s1gw/S1GW_Tests.ttcn
M s1gw/expected-results.xml
2 files changed, 15 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/46/38146/1

diff --git a/s1gw/S1GW_Tests.ttcn b/s1gw/S1GW_Tests.ttcn
index ebeda6d..b643f37 100644
--- a/s1gw/S1GW_Tests.ttcn
+++ b/s1gw/S1GW_Tests.ttcn
@@ -291,8 +291,19 @@
        f_ConnHdlr_s1ap_disconnect();
        f_ConnHdlr_s1ap_unregister(g_pars.genb_id);
 }
+/* 1 E-RAB at a time */
 testcase TC_e_rab_setup() runs on test_CT {
-       var ConnHdlrPars pars := valueof(t_ConnHdlrPars);
+       var ConnHdlrPars pars := valueof(t_ConnHdlrPars(num_erabs := 1));
+       var ConnHdlr vc_conn;
+
+       f_init();
+
+       vc_conn := f_ConnHdlr_spawn(refers(f_TC_e_rab_setup), pars);
+       vc_conn.done;
+}
+/* 3 E-RABs at a time */
+testcase TC_e_rab_setup3() runs on test_CT {
+       var ConnHdlrPars pars := valueof(t_ConnHdlrPars(num_erabs := 3));
        var ConnHdlr vc_conn;

        f_init();
@@ -331,6 +342,7 @@
        execute( TC_conn_term_by_mme() );
        execute( TC_conn_term_mme_unavail() );
        execute( TC_e_rab_setup() );
+       execute( TC_e_rab_setup3() );
        execute( TC_pfcp_heartbeat() );
 }

diff --git a/s1gw/expected-results.xml b/s1gw/expected-results.xml
index 87cd893..f7b0c3b 100644
--- a/s1gw/expected-results.xml
+++ b/s1gw/expected-results.xml
@@ -1,9 +1,10 @@
 <?xml version="1.0"?>
-<testsuite name='S1GW_Tests' tests='6' failures='0' errors='0' skipped='0' 
inconc='0' time='MASKED'>
+<testsuite name='S1GW_Tests' tests='7' failures='0' errors='0' skipped='0' 
inconc='0' time='MASKED'>
   <testcase classname='S1GW_Tests' name='TC_setup' time='MASKED'/>
   <testcase classname='S1GW_Tests' name='TC_setup_multi' time='MASKED'/>
   <testcase classname='S1GW_Tests' name='TC_conn_term_by_mme' time='MASKED'/>
   <testcase classname='S1GW_Tests' name='TC_conn_term_mme_unavail' 
time='MASKED'/>
   <testcase classname='S1GW_Tests' name='TC_e_rab_setup' time='MASKED'/>
+  <testcase classname='S1GW_Tests' name='TC_e_rab_setup3' time='MASKED'/>
   <testcase classname='S1GW_Tests' name='TC_pfcp_heartbeat' time='MASKED'/>
 </testsuite>

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38146?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6a0a10f826309d8a952c77c23170df3d201e7640
Gerrit-Change-Number: 38146
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>

Reply via email to