osmo-pcu/tests
Pau Espin 422636d752 tests: TbfTest: Fix wrong behavior in test_tbf_dl_reuse()
The test uses get_poll_fn() to submit a UL ctrl block on the next
expected poll TS+FN.

During initial transmit_dl_data(), 2 POLLs for DL_ACK are set on
different TS, but the test only updates the clock for one of them in
send_ul_mac_block(). As a result, one POLL item is left in the rb_tree,
and later on, when send_control_ack() is called, get_poll_fn() will pick
that 2nd DL_ACK poll FN+TS which was left untouched (due to sending no
events to the PCU clock) instead of the FN+TS which was expected to be
allocated by PCU for DL_ASS.

Until now this was not an issue since rcv_control_ack() was not properly
veirfying what the poll scheduler was expecting and accepted it. This is
no longer the case after the follow up patch refactoring
rcv_control_ack() and improving its robustness.

Change-Id: I3a4b089fe66a99e73e07bd1c690cd4d67752fad9
2021-09-28 16:05:03 +02:00
..
alloc replace dl_ass_state with osmocom FSM 2021-08-23 17:14:22 +02:00
app_info tbf_free: Get rid of uneeded tbf_state transition 2021-08-23 17:14:22 +02:00
bitcomp tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
codel tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
edge tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
emu Use ALPHA value received in SI13 from PCUIF 2021-02-22 12:29:12 +00:00
fn tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
llc tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms MsTest: Set up tbf talloc destructor 2021-05-19 12:50:25 +02:00
rlcmac tests: rlcmac: Fix C vs C++ linkage of extern symbol 2021-03-12 07:40:11 +00:00
tbf tests: TbfTest: Fix wrong behavior in test_tbf_dl_reuse() 2021-09-28 16:05:03 +02:00
types Move tbf ul_ack_state to osmocom FSM 2021-08-23 17:14:23 +02:00
ulc Move RELEASING tbf_state transition to tbf_fsm 2021-08-23 17:14:21 +02:00
Makefile.am tests: make update_exp: build check_PROGRAMS first 2021-08-23 14:56:27 +02:00
testsuite.at tests: Introduce unit tests for PDCH UL Controller 2021-03-15 19:35:43 +01:00