diff options
author | Harald Welte <laforge@osmocom.org> | 2020-12-11 10:59:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-12-11 11:00:08 +0100 |
commit | dc805c00eb46f923be6e185a2337fc6351ae38e3 (patch) | |
tree | c405578179a5d7c603e8823c726cdf4c8e44a532 | |
parent | 9b461a94a3a89f68d406dbe39af3f26496a8c1a1 (diff) |
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
-rw-r--r-- | gbproxy/GBProxy_Tests.ttcn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index 655e396..2077e0f 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/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; } } |