From cbac98c89e4c3825388b6b1b064fd825ddb3036b Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 28 Aug 2020 12:17:10 +0100 Subject: [PATCH] fix ack delay checks in scheduler tests --- srsenb/test/mac/scheduler_test_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/test/mac/scheduler_test_common.cc b/srsenb/test/mac/scheduler_test_common.cc index 7b95a3d20..2a8ac7fa6 100644 --- a/srsenb/test/mac/scheduler_test_common.cc +++ b/srsenb/test/mac/scheduler_test_common.cc @@ -375,7 +375,7 @@ int ue_ctxt_test::fwd_pending_acks(sched* sched_ptr) } auto& h = active_ccs[p.ue_cc_idx].dl_harqs[p.pid]; CONDERROR(not h.active, "The ACKed DL Harq pid=%d is not active\n", h.pid); - CONDERROR(h.tti_tx + FDD_HARQ_DELAY_UL_MS != p.tti_ack, "dl ack hasn't arrived when expected\n"); + CONDERROR(h.tti_tx + FDD_HARQ_DELAY_DL_MS != p.tti_ack, "dl ack hasn't arrived when expected\n"); CONDERROR(sched_ptr->dl_ack_info(current_tti_rx.to_uint(), rnti, p.cc_idx, p.tb, p.ack) <= 0, "The ACKed DL Harq pid=%d does not exist.\n", p.pid);