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


Change subject: hnbgw: fixup for expect_compl_l3_success
......................................................................

hnbgw: fixup for expect_compl_l3_success

During my rebase of Neels patch, I've missed setting
expect_compl_l3_success in t_pars(), leading to:

  HNBGW_Tests.ttcn:571 Dynamic test case error: Text encoder: Encoding an 
unbound boolean value.

For a lot of tests. Also add the parameter to f_TestHdlrParams() for
consistency.

Fixes: 25fc127c ("hnbgw: test for RUA Disconnect when there is no CN")
Change-Id: Idbfcb77a80d74f7715ef1f84ba4cbfdb08483a5c
---
M hnbgw/ConnHdlr.ttcn
M hnbgw/HNBGW_Tests.ttcn
2 files changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn
index d89123e..6168716 100644
--- a/hnbgw/ConnHdlr.ttcn
+++ b/hnbgw/ConnHdlr.ttcn
@@ -196,6 +196,7 @@
        hnb := omit,    /* filled in later */
        expect_separate_sccp_cr := expect_separate_sccp_cr,
        tx_sccp_cr_data_len := tx_sccp_cr_data_len,
+       expect_compl_l3_success := expect_compl_l3_success,
        pfcp_local_addr := pfcp_local_addr,
        nas_pdu := omit,
        sccp_addr_msc := omit,
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 44f0e43..7ba4c6f 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -507,6 +507,7 @@
                                  boolean ps_domain := false,
                                  boolean expect_separate_sccp_cr := false,
                                  integer tx_sccp_cr_data_len := 0,
+                                 boolean expect_compl_l3_success := true,
                                  integer cn_nr := 0,
                                  template (value) RANAP_IEs.Cause 
rab_rel_cause := ts_RanapCause_nas_normal)
  runs on test_CT return TestHdlrParams {
@@ -515,6 +516,7 @@
                       ps_domain := ps_domain,
                       expect_separate_sccp_cr := expect_separate_sccp_cr,
                       tx_sccp_cr_data_len := tx_sccp_cr_data_len,
+                      expect_compl_l3_success := expect_compl_l3_success,
                       cn_idx := f_cn_idx(ps_domain, cn_nr),
                       pfcp_local_addr := mp_pfcp_ip_local,
                       rab_rel_cause := rab_rel_cause,

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38590?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: Idbfcb77a80d74f7715ef1f84ba4cbfdb08483a5c
Gerrit-Change-Number: 38590
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to