mirror of https://github.com/PentHertz/srsLTE.git
rlc_um_nr_test: add extra check to verify reassembly timer isn't running
This commit is contained in:
parent
4187be3ff9
commit
b3c7eeedd3
|
@ -552,7 +552,7 @@ int rlc_um_nr_test8()
|
||||||
return SRSRAN_SUCCESS;
|
return SRSRAN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Similar to rlc_um_nr_test9() but out-of-order PDUs have SNs (from multiple SDUs)
|
// Similar to rlc_um_nr_test8() but out-of-order PDUs have SNs (from multiple SDUs)
|
||||||
int rlc_um_nr_test9()
|
int rlc_um_nr_test9()
|
||||||
{
|
{
|
||||||
rlc_um_nr_test_context1 ctxt;
|
rlc_um_nr_test_context1 ctxt;
|
||||||
|
@ -612,6 +612,8 @@ int rlc_um_nr_test9()
|
||||||
TESTASSERT(*(ctxt.tester.sdus[i]->msg) == i);
|
TESTASSERT(*(ctxt.tester.sdus[i]->msg) == i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TESTASSERT(ctxt.timers.nof_running_timers() == 0);
|
||||||
|
|
||||||
return SRSRAN_SUCCESS;
|
return SRSRAN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue