diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-08-02 02:50:17 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-08-02 03:25:09 +0200 |
commit | 7b2b4309cc2a640f064458ceb4498e6bb73aaee1 (patch) | |
tree | b0fb1b47685f76867c929299a463e68068a68513 | |
parent | 2428bab7c053b4428855cb2c4e95c32f7374db82 (diff) |
handover_test.c: add test case 29: TCH/F -> TCH/H
Change-Id: I5439beec4d295a8acaa1c49a0fa575dc2f7b973d
-rw-r--r-- | tests/handover/handover_test.c | 24 | ||||
-rw-r--r-- | tests/testsuite.at | 6 |
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index edc3219c1..f9bafe5f0 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -1286,6 +1286,29 @@ static char *test_case_28[] = { 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 @@ static char **test_cases[] = { 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 1c43249bd..a0d85ce3e 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -224,3 +224,9 @@ AT_KEYWORDS([handover]) 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 |