diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-12-10 00:55:06 +0100 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2020-12-16 14:07:12 +0000 |
commit | c52dbbe7f0b6954f481b73e0a211f590837e91c9 (patch) | |
tree | 093d6b50a29ed4df0f0cab806f72c37e99a0975c | |
parent | e05b032db9447925d6d44a5039b610518c53497d (diff) |
ttcn3-bts-test: fix: sleep 1 second before respawning the IUT
There has been a lot of changes merged to both osmo-{bsc,bts}, so
now the later seems to be respawning faster then before. Because
of that, osmo-bts-trx is now reaching the limit of 500 runs on
Jenkins right in the middle of ttcn3-bts-test execution:
respawn.sh: exiting after 500 runs
causing the remaining test cases to fail due to:
"BTS_Tests.ttcn:253 : Timeout waiting for RSL bring up"
Most likely, the IUT respawns several times in the windows between
the test cases, i.e. after TITAN finishes one test case and before
it starts another. Let's instruct respawn.sh to sleep 1 second
before starting the process again.
Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
-rwxr-xr-x | ttcn3-bts-test/jenkins.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh index be6a71c..87e2896 100755 --- a/ttcn3-bts-test/jenkins.sh +++ b/ttcn3-bts-test/jenkins.sh @@ -142,7 +142,7 @@ mkdir $VOL_BASE_DIR/virtphy # 1) classic test suite with BSC for OML and trxcon+fake_trx start_bsc -start_bts trx 0 +start_bts trx 1 start_fake_trx start_trxcon start_testsuite generic @@ -178,7 +178,7 @@ cp osmo-bts.cfg $VOL_BASE_DIR/bts/ # restart the BSC/BTS and run the testsuite again docker container kill ${BUILD_TAG}-bts start_bsc -start_bts trx 0 +start_bts trx 1 start_testsuite hopping # append ':hopping' to the classnames, # e.g. "classname='BTS_Tests'" => "classname='BTS_Tests:hopping'" |