Change in osmo-ttcn3-hacks[master]: bsc: do not run TC_stat_num_msc_* for SCCPlite

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 Sep 23 16:42:46 UTC 2021


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

Change subject: bsc: do not run TC_stat_num_msc_* for SCCPlite
......................................................................

bsc: do not run TC_stat_num_msc_* for SCCPlite

Avoid test breakage in ttcn3-bsc-test-sccplite, due to different
osmo-bsc configuration.

Related: SYS#5542
Change-Id: Iaf976ac12dbb2ee1930a7acfcf3cb452db34beed
---
M bsc/BSC_Tests.ttcn
1 file changed, 7 insertions(+), 3 deletions(-)

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



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 7cffac9..49214cd 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -10159,9 +10159,13 @@
 	/* CTRL interface testing */
 	execute( TC_ctrl_msc_connection_status() );
 	execute( TC_ctrl_msc0_connection_status() );
-	execute( TC_stat_num_msc_connected_1() );
-	execute( TC_stat_num_msc_connected_2() );
-	execute( TC_stat_num_msc_connected_3() );
+	/* In SCCPlite tests, only one MSC is configured. These tests assume that three MSCs are configured, so only run
+	 * these in the AoIP test suite. */
+	if (mp_bssap_cfg[0].transport == BSSAP_TRANSPORT_AoIP) {
+		execute( TC_stat_num_msc_connected_1() );
+		execute( TC_stat_num_msc_connected_2() );
+		execute( TC_stat_num_msc_connected_3() );
+	}
 	execute( TC_stat_num_bts_connected_1() );
 	execute( TC_stat_num_bts_connected_2() );
 	execute( TC_stat_num_bts_connected_3() );

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


More information about the gerrit-log mailing list