BSC_Tests: More robust against race condtions in IPA CCM and RESET
This commit is contained in:
parent
346658df4b
commit
60e823a555
|
@ -92,6 +92,7 @@ runs on test_CT {
|
||||||
T.stop;
|
T.stop;
|
||||||
IPA_RSL[i].send(ts_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0,ts_RSL_PAGING_LOAD_IND(23)));
|
IPA_RSL[i].send(ts_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0,ts_RSL_PAGING_LOAD_IND(23)));
|
||||||
}
|
}
|
||||||
|
[] IPA_RSL[i].receive(ASP_IPA_Event:?) { repeat }
|
||||||
[] IPA_RSL[i].receive { repeat }
|
[] IPA_RSL[i].receive { repeat }
|
||||||
[] T.timeout {
|
[] T.timeout {
|
||||||
setverdict(fail, "Timeout RSL waiting for ASP_IPA_EVENT_ID_ACK");
|
setverdict(fail, "Timeout RSL waiting for ASP_IPA_EVENT_ID_ACK");
|
||||||
|
@ -147,7 +148,13 @@ function f_sleep(float seconds) {
|
||||||
}
|
}
|
||||||
|
|
||||||
altstep as_Tguard() runs on test_CT {
|
altstep as_Tguard() runs on test_CT {
|
||||||
|
var BSSAP_N_UNITDATA_ind ud_ind;
|
||||||
[] T_guard.timeout { setverdict(fail, "Timeout of T_guard"); }
|
[] T_guard.timeout { setverdict(fail, "Timeout of T_guard"); }
|
||||||
|
/* always respond with RESET ACK to RESET */
|
||||||
|
[] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, tr_BSSMAP_Reset)) -> value ud_ind {
|
||||||
|
BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, ud_ind.calledAddress,
|
||||||
|
ts_BSSMAP_ResetAck));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function f_init() runs on test_CT {
|
function f_init() runs on test_CT {
|
||||||
|
|
Loading…
Reference in New Issue