osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37702?usp=email )

Change subject: hnodeb: more verbose error for f_tc_cs_mo_call
......................................................................

hnodeb: more verbose error for f_tc_cs_mo_call

Print the received IP and expected IP, so we directly see it without
finding it in the big log file.

Change-Id: I1c061aeae9d6b1645683ea758bf8169feec47bc7
---
M hnodeb/HNB_Tests.ttcn
1 file changed, 14 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




diff --git a/hnodeb/HNB_Tests.ttcn b/hnodeb/HNB_Tests.ttcn
index ca36ad7..987108a 100644
--- a/hnodeb/HNB_Tests.ttcn
+++ b/hnodeb/HNB_Tests.ttcn
@@ -333,7 +333,8 @@
        audio_conn_id := sd.data.u.audio.u.conn_establish.u.cnf.audio_conn_id;
        hnodeb_rtp_addr := 
f_inet_ntoa(sd.data.u.audio.u.conn_establish.u.cnf.local_addr);
        if (not match(g_pars.hnodeb_addr, hnodeb_rtp_addr)) {
-               Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "hnodeb RTP 
local address doesn't match expectations");
+               Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "hnodeb RTP 
local address " & hnodeb_rtp_addr
+                       & " doesn't match expectation: " & g_pars.hnodeb_addr);
        }
        hnodeb_rtp_port := 
sd.data.u.audio.u.conn_establish.u.cnf.local_rtp_port;
        f_HNBGW_rtpem_connect(hnodeb_rtp_addr, hnodeb_rtp_port);

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37702?usp=email
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: I1c061aeae9d6b1645683ea758bf8169feec47bc7
Gerrit-Change-Number: 37702
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to