From 887e8f1e9ee0a484e24a751844baf7dac8c0e15c Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 27 Jun 2018 01:01:55 +0200 Subject: bsc: fix TC_{early,late}_conn_fail: dyn PDCH: clean up cfg When leaving TS 6 in Osmocom style dyn TS mode, the initialization of the BTS will cause a RSL Chan Activ, which the tests BSC_Tests.TC_early_conn_fail and BSC_Tests.TC_late_conn_fail will interpret as the channel activation that they expect to come from the Channel Request. They will hence issue the Conn Fail message before the lchan is established, and are getting confused on what they expect to happen. Change-Id: I2bde987eefe7129c9f7c3b81b624d55cb66a75d0 --- bsc/BSC_Tests.ttcn | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bsc/BSC_Tests.ttcn') diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 01070911..328fc59b 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -2346,6 +2346,9 @@ testcase TC_dyn_pdch_ipa_act_deact() runs on test_CT { f_sleep(1.0); f_ts_dyn_mode_assert(0, 0, chan_nr.tn, TCHF_MODE); + /* clean up config */ + f_ts_set_chcomb(0, 0, 6, "PDCH"); + setverdict(pass); } @@ -2380,6 +2383,9 @@ testcase TC_dyn_pdch_ipa_act_nack() runs on test_CT { f_sleep(1.0); f_ts_dyn_mode_assert(0, 0, chan_nr.tn, TCHF_MODE); + /* clean up config */ + f_ts_set_chcomb(0, 0, 6, "PDCH"); + setverdict(pass); } @@ -2444,6 +2450,9 @@ testcase TC_dyn_pdch_osmo_act_deact() runs on test_CT { f_sleep(1.0); f_ts_dyn_mode_assert(0, 0, chan_nr.tn, PDCH_MODE); + /* clean up config */ + f_ts_set_chcomb(0, 0, 6, "PDCH"); + setverdict(pass); } @@ -2470,6 +2479,9 @@ testcase TC_dyn_pdch_osmo_act_nack() runs on test_CT { f_sleep(1.0); f_ts_dyn_mode_assert(0, 0, chan_nr.tn, NONE_MODE); + /* clean up config */ + f_ts_set_chcomb(0, 0, 6, "PDCH"); + setverdict(pass); } -- cgit v1.2.3