File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,8 @@ BOOST_AUTO_TEST_CASE(test_CheckQueue_FrozenCleanup)
355
355
// would get called twice).
356
356
vChecks[0 ].should_freeze = true ;
357
357
control.Add (vChecks);
358
- BOOST_CHECK (control.Wait ()); // Hangs here
358
+ bool waitResult = control.Wait (); // Hangs here
359
+ assert (waitResult);
359
360
});
360
361
{
361
362
std::unique_lock<std::mutex> l (FrozenCleanupCheck::m);
Original file line number Diff line number Diff line change @@ -220,8 +220,10 @@ static void test_cache_erase_parallel(size_t megabytes)
220
220
size_t ntodo = (n_insert/4 )/3 ;
221
221
size_t start = ntodo*x;
222
222
size_t end = ntodo*(x+1 );
223
- for (uint32_t i = start; i < end; ++i)
224
- BOOST_CHECK (set.contains (hashes[i], true ));
223
+ for (uint32_t i = start; i < end; ++i) {
224
+ bool contains = set.contains (hashes[i], true );
225
+ assert (contains);
226
+ }
225
227
});
226
228
227
229
/* * Wait for all threads to finish
You can’t perform that action at this time.
0 commit comments