Change in osmo-ttcn3-hacks[master]: bsc: f_establish_fully: verify lchan ESTABLISHED state

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Thu May 27 00:38:23 UTC 2021


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24406 )

Change subject: bsc: f_establish_fully: verify lchan ESTABLISHED state
......................................................................

bsc: f_establish_fully: verify lchan ESTABLISHED state

Change-Id: I341e2fa1e8946e7516705fa079e6e54fce9e58b0
---
M bsc/MSC_ConnectionHandler.ttcn
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  fixeria: Looks good to me, but someone else must approve
  neels: Looks good to me, approved



diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn
index 6b93ca5..8c44bf7 100644
--- a/bsc/MSC_ConnectionHandler.ttcn
+++ b/bsc/MSC_ConnectionHandler.ttcn
@@ -1307,6 +1307,13 @@
 			   " released properly: saw an RLL Release on the old lchan, but expecting none.");
 	    }
 	}
+
+	var charstring lchan_info := f_vty_transceive_ret(BSCVTY, "show lchan 0 0 " & int2str(g_chan_nr.tn) & " 0");
+	if (f_strstr(lchan_info, "State: ESTABLISHED") < 0) {
+		log("after f_establish_fully(), 'show lchan' replied: ", lchan_info);
+		setverdict(fail, "lchan is not in state ESTABLISHED");
+		mtc.stop;
+	}
 }
 
 type record HandoverState {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24406
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: I341e2fa1e8946e7516705fa079e6e54fce9e58b0
Gerrit-Change-Number: 24406
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210527/72d8702a/attachment.htm>


More information about the gerrit-log mailing list