Skip to content

Changes

Summary

  1. hnbgw: TC_hnb_disconnected_timeout (details)
Commit 4f310fb61cf44d1ce4f1e4e59173be5f6e9283ef by Neels Hofmeyr
hnbgw: TC_hnb_disconnected_timeout

Test the new timer hnbgw X35: discard all hnb_persistent state after a
given timeout.

While a hnb_persistent is present, its rate_ctrs and stat_items remain
present. When it is discarded, these vanish again. Use this to verify
that discarding and re-registering a hnb_persistent works.

Set X35 to five seconds, drop the Iuh link, wait and verify that the
rate counter group for the hnb_persistent is gone.

Then reconnect and disconnect again, to provoke errors like
use-after-free.

Depends: osmo-hnbgw Ic819d7cbc03fb39e98c204b70d016c5170dc6307
Related: SYS#6773
Change-Id: Ibec009203d38f65714561b7c28edbdbd8b34e704
The file was modified library/Osmocom_CTRL_Functions.ttcn
The file was modified hnbgw/HNBGW_Tests.ttcn