Fix suspend/resume tests
Ensure that a suspend/resume was sent before sending the *_(N)ACK. In reality these can only happen together and our TLLI cache removes the entries after it sees the corresponding (N)ACK so it will not forward the second message. Change-Id: Ie0fd81edb748d3c638e42c4418ca514095c55861 Related: SYS#4865, OS#4472
This commit is contained in:
parent
9a5b8ffc5b
commit
4c534bbf18
|
@ -1024,6 +1024,12 @@ private function f_TC_suspend() runs on GlobalTest_CT {
|
|||
|
||||
f_global_sgsn2pcu(pdu_tx, pdu_rx);
|
||||
|
||||
pdu_tx := ts_BSSGP_SUSPEND(tlli, ra_id);
|
||||
/* we cannot use pdu_tx as there are some subtle differences in the length field :/ */
|
||||
pdu_rx := tr_BSSGP_SUSPEND(tlli, ra_id);
|
||||
|
||||
f_global_pcu2sgsn(pdu_tx, pdu_rx);
|
||||
|
||||
/* These messages are simple passed through so just also test sending NACK */
|
||||
pdu_tx := ts_BSSGP_SUSPEND_NACK(tlli, ra_id, BSSGP_CAUSE_UNKNOWN_MS);
|
||||
/* we cannot use pdu_tx as there are some subtle differences in the length field :/ */
|
||||
|
@ -1060,6 +1066,12 @@ private function f_TC_resume() runs on GlobalTest_CT {
|
|||
|
||||
f_global_sgsn2pcu(pdu_tx, pdu_rx);
|
||||
|
||||
pdu_tx := ts_BSSGP_RESUME(tlli, ra_id, int2oct(i, 1));
|
||||
/* we cannot use pdu_tx as there are some subtle differences in the length field :/ */
|
||||
pdu_rx := tr_BSSGP_RESUME(tlli, ra_id, int2oct(i, 1));
|
||||
|
||||
f_global_pcu2sgsn(pdu_tx, pdu_rx);
|
||||
|
||||
/* These messages are simple passed through so just also test sending NACK */
|
||||
pdu_tx := ts_BSSGP_RESUME_NACK(tlli, ra_id, BSSGP_CAUSE_UNKNOWN_MS);
|
||||
/* we cannot use pdu_tx as there are some subtle differences in the length field :/ */
|
||||
|
|
Loading…
Reference in New Issue