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 3cc7205 commit 693f206Copy full SHA for 693f206
src/test/checkqueue_tests.cpp
@@ -161,6 +161,9 @@ static void Correct_Queue_range(std::vector<size_t> range)
161
CCheckQueueControl<FakeCheckCheckCompletion> control(small_queue.get());
162
while (total) {
163
vChecks.resize(std::min(total, (size_t) InsecureRandRange(10)));
164
+ for (size_t i = 0; i < vChecks.size(); ++i) {
165
+ vChecks[i] = new FakeCheckCheckCompletion();
166
+ }
167
total -= vChecks.size();
168
control.Add(vChecks);
169
}
0 commit comments