fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/docker-playground/+/28246 )
Change subject: ttcn3-bsc-test/jenkins-sccplite.sh: configure 4 TRX for BTS2
......................................................................
ttcn3-bsc-test/jenkins-sccplite.sh: configure 4 TRX for BTS2
This is another fixup for [1]. I didn't notice that the sccplite
variant of ttcn3-bsc-test has its own copy of jenkins.sh.
Change-Id: I21219724adbeda4166963b4940b08aad281a62cb
Fixes: [1] Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: SYS#5460
---
M ttcn3-bsc-test/jenkins-sccplite.sh
1 file changed, 6 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/46/28246/1
diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh
index 5ba4925..e231a6f 100755
--- a/ttcn3-bsc-test/jenkins-sccplite.sh
+++ b/ttcn3-bsc-test/jenkins-sccplite.sh
@@ -34,15 +34,16 @@
BTS_FEATURES="-fCCN,EGPRS,GPRS,IPv6_NSVC,PAGING_COORDINATION"
-for i in `seq 0 2`; do
- echo Starting container with OML for BTS$i
+for i in "0 1" "1 1" "2 4"; do
+ set -- $i # convert the {BTS, TRXN} "tuple" into the param args $1 $2
+ echo "Starting container with OML for BTS$1 (TRXN = $2)"
docker run --rm \
- $(docker_network_params $SUBNET 10$i) \
+ $(docker_network_params $SUBNET 10$1) \
--ulimit core=-1 \
- --name ${BUILD_TAG}-bts$i -d \
+ --name ${BUILD_TAG}-bts$1 -d \
$DOCKER_ARGS \
$REPO_USER/osmo-bts-$IMAGE_SUFFIX \
- /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy $BTS_FEATURES
172.18.12.20 $((i + 1234)) 1 >>/data/osmo-bts-omldummy-${i}.log 2>&1"
+ /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-omldummy $BTS_FEATURES
172.18.12.20 $(($1 + 1234)) $2 >>/data/osmo-bts-omldummy-$1.log 2>&1"
done
echo Starting container with BSC testsuite
--
To view, visit
https://gerrit.osmocom.org/c/docker-playground/+/28246
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I21219724adbeda4166963b4940b08aad281a62cb
Gerrit-Change-Number: 28246
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange