laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28304 )
Change subject: cbc: Improve CBSP port configuration ......................................................................
cbc: Improve CBSP port configuration
Previous -1 was taken by TTCN3 as default port (9999). Let's keep it excplictly as 9999 by default to avoid changing docker-playground.git.
Change-Id: Ia7c599faa2101180089085c6cf5d483d2325ecac --- M cbc/CBC_Tests.ttcn 1 file changed, 5 insertions(+), 4 deletions(-)
Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/cbc/CBC_Tests.ttcn b/cbc/CBC_Tests.ttcn index 44ce2bb..c408781 100644 --- a/cbc/CBC_Tests.ttcn +++ b/cbc/CBC_Tests.ttcn @@ -16,8 +16,9 @@
modulepar { charstring mp_cbc_host := "127.0.0.1"; - integer mp_cbc_port := 48049; - integer mp_ecbe_port := 12345; + integer mp_cbc_cbsp_port := 48049; + integer mp_cbc_ecbe_port := 12345; + integer mp_local_cbsp_port := 9999; };
type component test_CT extends CBSP_Adapter_CT, http_CT { @@ -132,8 +133,8 @@ }
private function f_init(boolean raw := false) runs on test_CT { - f_http_init(mp_cbc_host, mp_ecbe_port); - CBSP_Adapter.f_connect(mp_cbc_host, mp_cbc_port, "", -1); + f_http_init(mp_cbc_host, mp_cbc_ecbe_port); + CBSP_Adapter.f_connect(mp_cbc_host, mp_cbc_cbsp_port, "", mp_local_cbsp_port);
if (not raw) { var BSSMAP_FIELD_CellIdentificationList cell_list := {