reduce the load of some tests

...since they cause out of memory from time to time
This commit is contained in:
Fischlurch 2014-10-18 05:09:18 +02:00
parent 92b06e2f03
commit 2d0671beff
3 changed files with 4 additions and 4 deletions

View file

@ -164,7 +164,7 @@ return: 0
END
TTEST "metaprogramming helpers" MetaUtils_test <<END
TEST "metaprogramming helpers" MetaUtils_test <<END
return: 0
END

View file

@ -40,7 +40,7 @@ namespace test{
namespace { // private test setup...
/* WARNING: memory hungry */
const uint NUM_THREADS = 100;
const uint NUM_THREADS = 75;
const uint MAX_RAND = 100*1000;
inline bool

View file

@ -111,7 +111,7 @@ TESTS_BEGIN
for (int i = 0; i < 1000000; ++i)
for (int i = 0; i < 100000; ++i)
{
data = i;
r = lumiera_priqueue_insert (&pq, &data);
@ -120,7 +120,7 @@ TESTS_BEGIN
}
for (int i = 0; i < 1000000; ++i)
for (int i = 0; i < 100000; ++i)
{
data = rand()%1000000;
r = lumiera_priqueue_insert (&pq, &data);