aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-08-13 16:18:51 +0000
committerNeels Hofmeyr <neels@hofmeyr.de>2020-08-19 14:19:30 +0000
commit32f0886841740f9487dc16fe1ec22af4ff5aa46f (patch)
tree194ab5d1bb94b3c63762f07ed74026c34d8318ed
parent1e0dc7637e707d8952d5d6d5194aea402982cfa9 (diff)
bsc CBSP: expect zero-payload ETWS CMD after CBSP RESET
When receiving the instruction to CBSP RESET, osmo-bsc should stop CBSP broadcasting on all BTSes. Expect the according zero-payload ETWS CMDs on all CBSP relevant RSL ports. This behavior is implemented by osmo-bsc I925a041936c6163483d70fe6d158af368ec8c444 This is expected to break all CBSP tests until above bsc patch is merged, particularly the 'latest' tests will see this breakage until the next release is tagged. Depends: I925a041936c6163483d70fe6d158af368ec8c444 (osmo-bsc) Change-Id: Ifee313369a433a6a638c5fffdedee5363b8e47c2
-rw-r--r--bsc/BSC_Tests_CBSP.ttcn12
1 files changed, 12 insertions, 0 deletions
diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index 497ff808..6d0d2d79 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -186,6 +186,18 @@ function f_cbsp_reset_bss(integer idx) runs on cbsp_test_CT {
mtc.stop;
}
}
+
+ f_cbsp_expect_disable_broadcast();
+}
+
+function f_cbsp_expect_disable_broadcast() runs on cbsp_test_CT
+{
+ var template ASP_RSL_Unitdata zero_payload := tr_ASP_RSL_UD(tr_RSL_OSMO_ETWS_CMD(t_RslChanNr_PCH_AGCH(0), ''O));
+ interleave {
+ [] IPA_RSL[0].receive(zero_payload) { log("CBSP: disabled broadcast on bts 0"); }
+ [] IPA_RSL[1].receive(zero_payload) { log("CBSP: disabled broadcast on bts 1"); }
+ [] IPA_RSL[2].receive(zero_payload) { log("CBSP: disabled broadcast on bts 2"); }
+ }
}
/* send a WRITE CBS to the BSC; expect either COMPLETE or FAILURE in response*/