We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba4cd8 commit ae7469aCopy full SHA for ae7469a
src/test/crimson/test_backfill.cc
@@ -154,6 +154,14 @@ class BackfillFixture : public crimson::osd::BackfillState::BackfillListener {
154
}
155
156
157
+ template <class EventT>
158
+ void next_round2() {
159
+ ceph_assert(events_to_dispatch.size());
160
+ ceph_assert(typeid(*events_to_dispatch.front()) == typeid(EventT));
161
+ backfill_state.process_event(std::move(events_to_dispatch.front()));
162
+ events_to_dispatch.pop_front();
163
+ }
164
+
165
void next_till_done() {
166
while (!events_to_dispatch.empty()) {
167
next_round();
0 commit comments