aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test/jenkins.sh
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-02-13 18:18:06 +0100
committerOliver Smith <osmith@sysmocom.de>2023-02-13 18:22:03 +0100
commit8fd822ad173e4945d4369f0c2039de1223c58d23 (patch)
treea8d629617515a02250aa26ffbf72d75f89917e36 /ttcn3-bsc-test/jenkins.sh
parent4bbe87db968489a6631fba105e93fb9ae65b0bcc (diff)
ttcn3-bsc-test: sleep 1s before starting testsuite
Give OsmoBSC time to connect to OsmoSTP, so BSSMAP RESET from the testsuite doesn't fail in OsmoSTP with: MTP-TRANSFER.req for DPC 187: no route! Without this patch, it would fail every other time on my system when only having one test enabled in BSC_Tests.cfg. Change-Id: Ic7f80bdfe2fe58e93c2f2e3baa6d7645fcdc3062
Diffstat (limited to 'ttcn3-bsc-test/jenkins.sh')
-rwxr-xr-xttcn3-bsc-test/jenkins.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index 26ecce9..0a3128c 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -65,6 +65,10 @@ for i in "0 1" "1 1" "2 4"; do
>>/data/osmo-bts-omldummy-$1.log 2>&1"
done
+# Give OsmoBSC time to connect to OsmoSTP, so BSSMAP RESET from the testsuite
+# doesn't fail in OsmoSTP with "MTP-TRANSFER.req for DPC 187: no route!"
+sleep 1
+
echo Starting container with BSC testsuite
docker run --rm \
$(docker_network_params $SUBNET 203) \