neels submitted this change.

View Change


Approvals: Jenkins Builder: Verified neels: Looks good to me, approved
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(-)

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 {

To view, visit change 34127. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia5144dbbc5168b3707e714e12b805f5d640fa774
Gerrit-Change-Number: 34127
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de>
Gerrit-MessageType: merged