nr,gnb,sched: fix sched parallel unit test

This commit is contained in:
Francisco 2021-12-09 01:08:23 +00:00 committed by Francisco Paisana
parent c3d682bba8
commit b2f5f6c620
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}