laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21402 )


Change subject: gbproxy: Fix log messages in timeout situations
......................................................................

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: Idab8bed06281468164006682aa6b4c2c3e236880
---
M gbproxy/GBProxy_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/02/21402/1

diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index 0721fbd..2797a2c 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -574,7 +574,7 @@
                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;
                }
        }
@@ -609,7 +609,7 @@
                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;
                }
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21402
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Idab8bed06281468164006682aa6b4c2c3e236880
Gerrit-Change-Number: 21402
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-MessageType: newchange

Reply via email to