mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 14:47:44 -05:00
Change asserts to BOOST_REQUIRE_* in test_tasklets_failure
This commit is contained in:
1 parent
c78a629528
commit
c92bad8cfe
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user