From 579bfa8e33fd1c77b2e7ff216e243df10d700447 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 29 Jul 2020 00:33:59 +0200 Subject: bsc CBSP: allow passing guard_timeout to BSC_Tests.f_init() 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 --- bsc/BSC_Tests_CBSP.ttcn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bsc') diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn index acd0b99c..c44e9df5 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; -- cgit v1.2.3