File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1655,22 +1655,24 @@ struct PITest : ::testing::Test {
16551655 RequiredPredicate rec_pred (min_to_peer);
16561656 MapPredicate map_pred (osd_states);
16571657
1658+ auto correct_pcontdec = std::make_unique<RequiredPredicate>(rec_pred);
16581659 PI::PriorSet correct (
16591660 ec_pool,
16601661 probe,
16611662 down,
16621663 blocked_by,
16631664 pg_down,
1664- new RequiredPredicate (rec_pred ));
1665+ correct_pcontdec. get ( ));
16651666
16661667 PastIntervals compact;
16671668 for (auto &&i: intervals) {
16681669 compact.add_interval (ec_pool, i);
16691670 }
1671+ auto compact_ps_pcontdec = std::make_unique<RequiredPredicate>(rec_pred);
16701672 PI::PriorSet compact_ps = compact.get_prior_set (
16711673 ec_pool,
16721674 last_epoch_started,
1673- new RequiredPredicate (rec_pred ),
1675+ compact_ps_pcontdec. get ( ),
16741676 map_pred,
16751677 up,
16761678 acting,
You can’t perform that action at this time.
0 commit comments