From 8fd822ad173e4945d4369f0c2039de1223c58d23 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 13 Feb 2023 18:18:06 +0100 Subject: 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 --- ttcn3-bsc-test/jenkins.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ttcn3-bsc-test/jenkins.sh') 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) \ -- cgit v1.2.3