Skip to content

Commit 66c6857

Browse files
robertfalkenbergcodebot
authored andcommitted
ue_config_test: use proper PDCP PDUs as test_payload...
...which allows for extraction of PDCP SN from header. Related to 9414e49
1 parent e6b553b commit 66c6857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unittests/du_manager/procedures/ue_configuration_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ TEST_F(ue_config_tester, when_du_manager_finishes_processing_ue_config_request_t
190190
{
191191
const static std::array<uint8_t, 2> dummy_rlc_header = {0x80, 0x0};
192192
byte_buffer test_payload =
193-
byte_buffer::create({test_rgen::random_vector<uint8_t>(test_rgen::uniform_int<unsigned>(1, 100))}).value();
193+
test_helpers::create_pdcp_pdu(pdcp_sn_size::size12bits, 0, test_rgen::uniform_int<unsigned>(3, 100));
194194

195195
// Run UE Configuration Procedure to completion.
196196
configure_ue(create_f1ap_ue_context_update_request(test_ue->ue_index, {srb_id_t::srb2}, {}));

0 commit comments

Comments
 (0)