Change in osmo-bsc[master]: handover_test.c: add test case 29: TCH/F -> TCH/H

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
Sun Aug 2 01:26:31 UTC 2020


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


Change subject: handover_test.c: add test case 29: TCH/F -> TCH/H
......................................................................

handover_test.c: add test case 29: TCH/F -> TCH/H

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



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

diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index edc3219..f9bafe5 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1286,6 +1286,29 @@
 	NULL
 };
 
+static char *test_case_29[] = {
+	"2",
+
+	"Congestion check: Balancing congestion by handover TCH/F -> TCH/H\n\n"
+	"One BTS, and TCH/F are considered congested, TCH/H are not.\n"
+	,
+	"create-bts", "1",
+	"set-min-free", "0", "TCH/F", "3",
+	"set-min-free", "0", "TCH/H", "0",
+	"create-ms", "0", "TCH/F", "AMR",
+	"create-ms", "0", "TCH/F", "AMR",
+	"create-ms", "0", "TCH/H", "AMR",
+	"meas-rep", "0", "30","0", "1","0","30",
+	"expect-no-chan",
+	"congestion-check",
+	"expect-chan", "0", "5",
+	"ack-chan",
+	"expect-ho", "0", "1",
+	"ho-complete",
+	NULL
+};
+
+
 static char **test_cases[] =  {
 	test_case_0,
 	test_case_1,
@@ -1316,6 +1339,7 @@
 	test_case_26,
 	test_case_27,
 	test_case_28,
+	test_case_29,
 };
 
 static const struct log_info_cat log_categories[] = {
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 1c43249..a0d85ce 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -224,3 +224,9 @@
 cat $abs_srcdir/handover/handover_test.ok > expout
 AT_CHECK([$abs_top_builddir/tests/handover/handover_test 28], [], [expout], [ignore])
 AT_CLEANUP
+
+AT_SETUP([handover test 29])
+AT_KEYWORDS([handover])
+cat $abs_srcdir/handover/handover_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/handover/handover_test 29], [], [expout], [ignore])
+AT_CLEANUP

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I5439beec4d295a8acaa1c49a0fa575dc2f7b973d
Gerrit-Change-Number: 19496
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200802/dbf5b508/attachment.htm>


More information about the gerrit-log mailing list