nr,gnb,sched: fix sched parallel unit test

master
Francisco 3 years ago committed by Francisco Paisana
parent c3d682bba8
commit b2f5f6c620

@ -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()); 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 (is_dl_slot) {
if (cc_out.res.dl->phy.ssb.empty()) { 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); TESTASSERT(slot_ctxt.ue_db.empty() or cc_out.res.dl->phy.pdcch_dl.size() >= 1);
} else { } else {
TESTASSERT(cc_out.res.dl->phy.pdcch_dl.size() == 0); TESTASSERT(cc_out.res.dl->phy.pdcch_dl.size() == 0);
} }

Loading…
Cancel
Save