daniel has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42931?usp=email ) Change subject: STP_Tests_TCAP: Fix ipa_to_ipa testcase ...................................................................... STP_Tests_TCAP: Fix ipa_to_ipa testcase tcap routing doesn't work the way the test thinks. E.g. a Begin can't be routed to a special destination because it does't contain a dtid which is needed to route to the correct ASP. Change-Id: Ie274232b706348b5ab6d0ac248883d86c53ebb4e --- M stp/STP_Tests_TCAP.ttcn 1 file changed, 6 insertions(+), 6 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve diff --git a/stp/STP_Tests_TCAP.ttcn b/stp/STP_Tests_TCAP.ttcn index d443690..5093b78 100644 --- a/stp/STP_Tests_TCAP.ttcn +++ b/stp/STP_Tests_TCAP.ttcn @@ -383,8 +383,7 @@ var template (value) IPA_EXT_TCAP_ROUTING_Message tcap_rt_msg; var Misc_Helpers.ro_charstring tcap_asps := { "asp-ipa-loadshare-1-0", "asp-ipa-loadshare-1-1", - "asp-ipa-loadshare-2-0", - "asp-ipa-loadshare-2-1" }; + "asp-ipa-loadshare-2-0" }; var TCAP_CT_Configurations tcap_configs := tcap_build_configs(tcap_asps); f_init_tcap(tcap_configs); @@ -397,16 +396,17 @@ ssn := IPA_EXT_TCAP_ROUTING_SSN_WILDCARD) f_asp_tx_ipa_ext_tcap_routing(tcap_rt_msg, 0); /* Configure TCAP routing on ASP "asp-ipa-loadshare-2-0": */ + tcap_rt_msg.u.add_range.tid_start := 200; + tcap_rt_msg.u.add_range.tid_start := 299; f_asp_tx_ipa_ext_tcap_routing(tcap_rt_msg, 2); /* Configure TCAP routing on ASP "asp-ipa-loadshare-1-1": */ tcap_rt_msg.u.add_range.tid_start := 100; - tcap_rt_msg.u.add_range.tid_end := 199; + tcap_rt_msg.u.add_range.tid_end := 149; f_asp_tx_ipa_ext_tcap_routing(tcap_rt_msg, 1); - /* Configure TCAP routing on ASP "asp-ipa-loadshare-2-1": */ - f_asp_tx_ipa_ext_tcap_routing(tcap_rt_msg, 3); - f_asp_tx_tcap_m3ua_ipa_transaction(0, 3, int2oct(177, 4), int2oct(78, 4)); + f_asp_tx_tcap_m3ua_ipa_transaction(0, 2, int2oct(48, 4), int2oct(277, 4)); + f_asp_tx_tcap_m3ua_ipa_transaction(1, 2, int2oct(144, 4), int2oct(272, 4)); setverdict(pass); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42931?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ie274232b706348b5ab6d0ac248883d86c53ebb4e Gerrit-Change-Number: 42931 Gerrit-PatchSet: 1 Gerrit-Owner: daniel <dwillmann@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: pespin <pespin@sysmocom.de>