PCU: fix TC_ta_rach_imm_ass(): properly match Timing Advance
This test case would not fail even in case of Timing Advance mismatch. Change-Id: Ife86e5e0e39f0112b854ed9a13e9c6f3c49531c9 Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
This commit is contained in:
parent
5b649ccbc6
commit
8685b380b8
|
@ -727,8 +727,11 @@ testcase TC_ta_rach_imm_ass() runs on RAW_PCU_Test_CT {
|
|||
}
|
||||
|
||||
/* Make sure Timing Advance IE matches out expectations */
|
||||
if (match(rr_msg, tr_IMM_TBF_ASS(dl := false, ta := ta))) {
|
||||
setverdict(pass);
|
||||
if (rr_msg.payload.imm_ass.timing_advance != ta) {
|
||||
setverdict(fail, "Timing Advance mismatch: ",
|
||||
rr_msg.payload.imm_ass.timing_advance,
|
||||
" vs expected ", ta);
|
||||
mtc.stop;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue