bsc: make TC_stats_conn_fail less fragile
Add a delay between sending the RSL Conn Fail IND and checking the stats values, so that osmo-bsc has a good chance of receiving the message and promoting the failure into the stats values first. Even though jenkins shows no failures, when testing locally, this test fails a lot for me without that bit of delay. Change-Id: Iaf0173239528337283b23f70840d36ad25f14950
This commit is contained in:
parent
2315874f28
commit
58be48a16a
|
@ -1804,6 +1804,8 @@ private function f_TC_stats_conn_fail(charstring id) runs on MSC_ConnHdlr {
|
|||
ts_RSL_CONN_FAIL_IND(g_chan_nr, RSL_ERR_RADIO_LINK_FAIL),
|
||||
IPAC_PROTO_RSL_TRX0));
|
||||
|
||||
f_sleep(1.0);
|
||||
|
||||
/* Expect stats to be 1 */
|
||||
expect := {
|
||||
{name := "TTCN3.bts.0.chan.rf_fail", mtype := "c", min := 1, max := 1},
|
||||
|
|
Loading…
Reference in New Issue