Skip to content

Commit

Permalink
Re #8882. Speed up a test that was surely doing more than it needed to.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Apr 3, 2014
1 parent 3ecf591 commit 1cf6a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Kernel/test/LoggerTest.h
Expand Up @@ -84,7 +84,7 @@ class LoggerTest : public CxxTest::TestSuite
void test_OpenMP_ParallelLogging()
{
PRAGMA_OMP(parallel for)
for (int i=0; i<10000; i++)
for (int i=0; i<1000; i++)
{
log.information() << "Information Message " << i << std::endl;
}
Expand All @@ -102,7 +102,7 @@ class LoggerTest : public CxxTest::TestSuite
void test_ThreadPool_ParallelLogging()
{
ThreadPool tp;
for (int i=0; i<10000; i++)
for (int i=0; i<1000; i++)
tp.schedule(new FunctionTask(boost::bind(&LoggerTest::doLogInParallel, &*this, i)));
tp.joinAll();
}
Expand Down

0 comments on commit 1cf6a3e

Please sign in to comment.