Change in osmo-bsc[master]: handover_test: add test 31: TCH/H: re-use dyn TS

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
Tue Nov 17 01:56:14 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21202 )


Change subject: handover_test: add test 31: TCH/H: re-use dyn TS
......................................................................

handover_test: add test 31: TCH/H: re-use dyn TS

Show undesired behavior of opening up another TCH/H timeslot even though
another TCH/H timeslot still has room for a second lchan. This is particularly
bad for dynamic timeslots, reducing PDCH as well as TCH/F resources.

Change-Id: If222835af92d832b848824e5466bdcaf9af8a614
---
M tests/handover/handover_test.c
M tests/testsuite.at
2 files changed, 19 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/02/21202/1

diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index 46f7cb8..d2d3229 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1694,6 +1694,18 @@
 	NULL
 };
 
+static char *test_case_31[] = {
+	"2",
+
+	"Congestion check: re-use half used TCH/H to avoid switching more dyn TS to TCH/H\n"
+	,
+	"create-bts", "1", "c+s4", "TCH/F", "TCH/F", "TCH/F", "dyn", "dyn", "dyn", "PDCH",
+	"set-ts-use", "0", "0",  "*", "-", "-", "-", "PDCH", "TCH/H-", "PDCH", "PDCH",
+	"create-ms", "0", "TCH/H", "AMR",
+	/* bad: should re-use existing dyn TS instead of switching another one */
+	"expect-ts-use", "0", "0",  "*", "-", "-", "-", "TCH/H-", "TCH/H-", "PDCH", "PDCH",
+	NULL
+};
 
 static char **test_cases[] =  {
 	test_case_0,
@@ -1727,6 +1739,7 @@
 	test_case_28,
 	test_case_29,
 	test_case_30,
+	test_case_31,
 };
 
 static const struct log_info_cat log_categories[] = {
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 787f33d..bd6f56f 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -236,3 +236,9 @@
 cat $abs_srcdir/handover/handover_test.ok > expout
 AT_CHECK([$abs_top_builddir/tests/handover/handover_test 30], [], [expout], [ignore])
 AT_CLEANUP
+
+AT_SETUP([handover test 31])
+AT_KEYWORDS([handover])
+cat $abs_srcdir/handover/handover_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/handover/handover_test 31], [], [expout], [ignore])
+AT_CLEANUP

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: If222835af92d832b848824e5466bdcaf9af8a614
Gerrit-Change-Number: 21202
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201117/9d070de4/attachment.htm>


More information about the gerrit-log mailing list