summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-07-29 00:33:59 +0200
committerneels <nhofmeyr@sysmocom.de>2020-08-04 11:40:38 +0000
commit579bfa8e33fd1c77b2e7ff216e243df10d700447 (patch)
tree67840e2e24c879366c1acfe1735ccc92179179fa
parent0d1511d96e3223a741373c0a7cd4b0c90a5ab310 (diff)
bsc CBSP: allow passing guard_timeout to BSC_Tests.f_init()HEADmaster
An upcoming patch adds a test series (of various payload lengths) to TC_cbsp_write_bss(), which then needs a bit longer than 30 seconds to run through those. That test will pass a longer guard_timeout. Change-Id: I54e1b3994074f4d0caf5b201588fce0ec41dda89
-rw-r--r--bsc/BSC_Tests_CBSP.ttcn8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index acd0b99..c44e9df 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -93,8 +93,8 @@ var ASP_RSL_Unitdata rx;
}
}
-private function f_init() runs on cbsp_test_CT {
- BSC_Tests.f_init();
+private function f_init(float guard_timeout := 30.0) runs on cbsp_test_CT {
+ BSC_Tests.f_init(guard_timeout := guard_timeout);
activate(as_IgnRSL((tr_RSL_BCCH_INFO, tr_RSL_SACCH_FILL,
tr_RSL_NO_BCCH_INFO, tr_RSL_NO_SACCH_FILL,
tr_RSL_MsgTypeD(?))));
@@ -106,11 +106,11 @@ private function f_cbsp_init_client() runs on cbsp_test_CT {
f_cbsp_init_tail();
}
-private function f_cbsp_init_server() runs on cbsp_test_CT {
+private function f_cbsp_init_server(float guard_timeout := 30.0) runs on cbsp_test_CT {
var ASP_Event asp_evt;
timer T := 10.0;
- f_init();
+ f_init(guard_timeout := guard_timeout);
CBSP_Adapter.f_bind(mp_cbc_ip, mp_cbc_port);
T.start;