pespin has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/04/28304/1

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 := {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28304
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia7c599faa2101180089085c6cf5d483d2325ecac
Gerrit-Change-Number: 28304
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to