From b2f5f6c620ac0cc990ae37d0b7de87ca37585949 Mon Sep 17 00:00:00 2001 From: Francisco Date: Thu, 9 Dec 2021 01:08:23 +0000 Subject: [PATCH] nr,gnb,sched: fix sched parallel unit test --- srsgnb/src/stack/mac/test/sched_nr_parallel_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsgnb/src/stack/mac/test/sched_nr_parallel_test.cc b/srsgnb/src/stack/mac/test/sched_nr_parallel_test.cc index 12f0e721b..64b500dd5 100644 --- a/srsgnb/src/stack/mac/test/sched_nr_parallel_test.cc +++ b/srsgnb/src/stack/mac/test/sched_nr_parallel_test.cc @@ -42,8 +42,8 @@ public: bool is_dl_slot = srsran_duplex_nr_is_dl(&cell_params[cc_out.res.cc].cfg.duplex, 0, current_slot_tx.slot_idx()); if (is_dl_slot) { - if (cc_out.res.dl->phy.ssb.empty()) { - TESTASSERT(slot_ctxt.ue_db.empty() or cc_out.res.dl->phy.pdcch_dl.size() == 1); + if (cc_out.res.dl->phy.ssb.empty() and not slot_ctxt.ue_db.empty()) { + TESTASSERT(slot_ctxt.ue_db.empty() or cc_out.res.dl->phy.pdcch_dl.size() >= 1); } else { TESTASSERT(cc_out.res.dl->phy.pdcch_dl.size() == 0); }