aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-sgsn-test
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-07 12:20:44 +0200
committerpespin <pespin@sysmocom.de>2020-07-08 12:37:29 +0000
commitfc5cab9e3a3c5ac9edcd0a5c78c43c5221c16883 (patch)
treeb0f4a5887962556bc68f8a65f386e9d1fc79de44 /ttcn3-sgsn-test
parent37a603b1d374a817d757c13fb3f4a20d76f327b3 (diff)
ttcn3-bts: Fix most OML test failing after osmo-bts shutdown optimization
Since osmo-bts.git 0a6bdb024f5429a35c56178496158c9b1c3ee032, the process is quickly terminated during shutdown if no TRX is running. Since in the OML tests the TTCN3 components implements the OML IPA server side, most of the time when osmo-bts starts it finds no one listening on the address and exits immediately. This makes respawn.sh script run osmo-bts lots of times per seconds (since osmo-bts terminates quicker now). As a result, it quickly consumes the 500 launch threshold and exits without starting osmo-bts being launched anymore. As a result, only first tests pass, and all the later ones fail because osmo-bts never connects. Let's add a sleep 1 between respawns in respawn.sh only when running OML tests (not needed in the others since there's an osmo-bsc always running). This also clears a lot of output in the logs of osmo-bts processes restarting over and over again. Change-Id: I10d3e1ef8325dd78f9ae2b95fbfd1c6d893bf8a4
Diffstat (limited to 'ttcn3-sgsn-test')
0 files changed, 0 insertions, 0 deletions