aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test/jenkins.sh
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2020-08-12 18:56:37 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2020-08-13 23:00:44 +0200
commit68ddce97e39cb65234174d793cce4d375e859de6 (patch)
tree5c8ad2b31bb7e72ea0dfa5beb95a3a3404db29c7 /ttcn3-bsc-test/jenkins.sh
parent149de2822d7bc6d64a2cc4516b8cde77fb1f21ea (diff)
Update bsc tester config to enable stats testing
Diffstat (limited to 'ttcn3-bsc-test/jenkins.sh')
-rwxr-xr-xttcn3-bsc-test/jenkins.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index 0218a8f..2319b9c 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -24,6 +24,13 @@ if [ "$IMAGE_SUFFIX" = "latest" ]; then
cp pre-mscpool-osmo-bsc.cfg $VOL_BASE_DIR/bsc/osmo-bsc.cfg
fi
+# Disable stats testing until libosmocore release > 1.4.0
+if [ "$IMAGE_SUFFIX" = "latest" ]; then
+ sed -i "s/^StatsD_Checker.mp_enable_stats.*/StatsD_Checker.mp_enable_stats := false;/" $VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg
+ sed -i "s/stats interval 0//" $VOL_BASE_DIR/bsc/osmo-bsc.cfg
+ sed -i "s/flush-period 1//" $VOL_BASE_DIR/bsc/osmo-bsc.cfg
+fi
+
network_create 2
echo Starting container with STP