srsLTE/lib/test/upper
Pedro Alvarez 7b25eac47c Fix race condition in rlc_am_stress test and other fixes related to this
test. The race condition was being cause by write_sdu being called
simultanously to read_pdu, which could cause the read_pdu to try to get
the SDU info before it had been written by the write_sdu.

Changes in this commit include:
 - Make sure PDCP sn in included in RLC AM stress test.
 - Stop handling control PDU when TX is not enabled in RLC AM.
 - Fixed issue with length of the PDCP SN in rlc_stress_test.
 - Moved the place were sdu info erase was called to avoid double calls to erase
 - Tentative fix for race condition in rlc_am_stress test.
 - Added function to print information about undelivered_sdu_info_queue
   for debugging.
2021-02-05 12:24:50 +00:00
..
CMakeLists.txt Removed some unused variables after changing method of tracking notifications. Removed rlc_am_notify_pdcp test file. Testing is now in rlc_am_test.cc 2021-02-05 12:24:50 +00:00
pdcp_base_test.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_lte_test.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_lte_test_rx.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_nr_test.h change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_nr_test_discard_sdu.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_nr_test_rx.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
pdcp_nr_test_tx.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_am_control_test.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_am_data_test.cc Refactor assert to TESTASSERT in unit test 2021-01-26 21:19:37 +01:00
rlc_am_nr_pdu_test.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_am_test.cc Fix typos and bad comments in rlc_am_lte.cc and rlc_am_test.cc 2021-02-05 12:24:50 +00:00
rlc_common_test.cc Added the ability of the RLC AM to notify the PDCP of the acknowledged 2021-02-05 12:24:50 +00:00
rlc_stress_test.cc Fix race condition in rlc_am_stress test and other fixes related to this 2021-02-05 12:24:50 +00:00
rlc_test_common.h Added the ability of the RLC AM to notify the PDCP of the acknowledged 2021-02-05 12:24:50 +00:00
rlc_um_data_test.cc Refactor assert to TESTASSERT in unit test 2021-01-26 21:19:37 +01:00
rlc_um_nr_pdu_test.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_um_nr_test.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
rlc_um_test.cc change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00