gbproxy: Fix log messages in timeout situations

Printing an unbound 'rx' variable when nothing was received due to
timeout is somehow not really useful.  Print what we expected to
receive.

Change-Id: I4fee89baa954736ae8298b63667297dd57d8ec4f
changes/71/21671/1
Harald Welte 2 years ago
parent 9b461a94a3
commit dc805c00eb
  1. 4
      gbproxy/GBProxy_Tests.ttcn

@ -765,7 +765,7 @@ friend function f_global_pcu2sgsn(template (value) PDU_BSSGP tx, template (prese
mtc.stop;
}
[] T.timeout {
setverdict(fail, "Timeout waiting for BSSGP on SGSN side: ", rx);
setverdict(fail, "Timeout waiting for BSSGP on SGSN side: ", exp_rx);
mtc.stop;
}
}
@ -788,7 +788,7 @@ friend function f_global_sgsn2pcu(template (value) PDU_BSSGP tx, template (prese
mtc.stop;
}
[] T.timeout {
setverdict(fail, "Timeout waiting for BSSGP on PCU side: ", rx);
setverdict(fail, "Timeout waiting for BSSGP on PCU side: ", exp_rx);
mtc.stop;
}
}

Loading…
Cancel
Save