neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34127 )
Change subject: hnbgw: attempt to fix sporadic test failures ......................................................................
hnbgw: attempt to fix sporadic test failures
Give some more wait time for RANAP RESET after f_cn_nr_init(). Intended to fix sporadic failures of HNBGW_Tests... - TC_rab_assign_mgcp_to - TC_ranap_cs_mo_disconnect
Change-Id: Ia5144dbbc5168b3707e714e12b805f5d640fa774 --- M hnbgw/HNBGW_Tests.ttcn 1 file changed, 19 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/34127/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index df6fc8e..b1f6cae 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -533,6 +533,11 @@ if (start_hnb) { f_start_hnbs(); } + + /* Sometimes, the RUA InitialUE-Message from a test happens too quickly, before the RANAP RESET from + * RAN_Emulation is through, after above f_cn_nr_init(). In the pcap it seems to be a matter of 50 ms. Give some + * grace. */ + f_sleep(1.0); }
friend function f_shutdown_helper() runs on test_CT {