library/GTPv2_Emulation: fix timer not being started in f_uecups_xceive()

This change fixes the following error:

  Dynamic test case error: None of the branches can be chosen in
                           the alt statement in file GTPv2_Emulation.ttcn
                           between lines 362 and 370.

which may happen when osmo-uecups-daemon fails to create a tunnel
due to insufficient permissions.

Change-Id: Icb229aed7fa9dedcf999837ec6ad249ab4fdebb7
Related: SYS#5602
This commit is contained in:
Vadim Yanitskiy 2022-01-20 18:53:15 +06:00
parent 2803cd3d7d
commit 5313af9c40
1 changed files with 1 additions and 0 deletions

View File

@ -359,6 +359,7 @@ runs on GTPv2_Emulation_CT return PDU_UECUPS {
var UECUPS_RecvFrom mrf;
UECUPS.send(t_UECUPS_Send(g_uecups_conn_id, tx));
T.start;
alt {
[] UECUPS.receive(tr_UECUPS_RecvFrom_R(rx_t)) -> value mrf { }
[] UECUPS.receive(tr_SctpAssocChange) { repeat; }