mirror of https://github.com/PentHertz/srsLTE.git
dont let RLC stress test fail if buffer gets empty
This commit is contained in:
parent
541a045079
commit
fd9f847d2d
|
@ -278,8 +278,10 @@ private:
|
|||
while(run_enable) {
|
||||
byte_buffer_t *pdu = byte_buffer_pool::get_instance()->allocate("rlc_tester::run_thread");
|
||||
if (!pdu) {
|
||||
printf("Fatal Error: Could not allocate PDU in rlc_tester::run_thread\n");
|
||||
exit(-1);
|
||||
printf("Error: Could not allocate PDU in rlc_tester::run_thread\n\n\n");
|
||||
// backoff for a bit
|
||||
usleep(1000);
|
||||
continue;
|
||||
}
|
||||
for (uint32_t i = 0; i < SDU_SIZE; i++) {
|
||||
pdu->msg[i] = sn;
|
||||
|
|
Loading…
Reference in New Issue