mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Change asserts to BOOST_REQUIRE_* in test_tasklets_failure
This commit is contained in:
parent
c78a629528
commit
c92bad8cfe
@ -91,8 +91,8 @@ void execute () {
|
||||
runner = std::make_unique<Opm::TaskletRunner>(numWorkers);
|
||||
|
||||
// the master thread is not a worker thread
|
||||
assert(runner->workerThreadIndex() < 0);
|
||||
assert(runner->numWorkerThreads() == numWorkers);
|
||||
BOOST_REQUIRE_LT(runner->workerThreadIndex(), 0);
|
||||
BOOST_REQUIRE_EQUAL(runner->numWorkerThreads(), numWorkers);
|
||||
|
||||
// Dispatch some successful tasklets
|
||||
for (int i = 0; i < 5; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user