Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80666 - trunk/libs/lockfree/test
From: tim_at_[hidden]
Date: 2012-09-23 08:32:50


Author: timblechmann
Date: 2012-09-23 08:32:49 EDT (Sun, 23 Sep 2012)
New Revision: 80666
URL: http://svn.boost.org/trac/boost/changeset/80666

Log:
lockfree: relax stress tests

the testsuite seems to take too much time for some test farm machines

Signed-off-by: Tim Blechmann <tim_at_[hidden]>
Text files modified:
   trunk/libs/lockfree/test/test_common.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/lockfree/test/test_common.hpp
==============================================================================
--- trunk/libs/lockfree/test/test_common.hpp (original)
+++ trunk/libs/lockfree/test/test_common.hpp 2012-09-23 08:32:49 EDT (Sun, 23 Sep 2012)
@@ -23,7 +23,11 @@
 struct queue_stress_tester
 {
     static const unsigned int buckets = 1<<13;
+#ifndef BOOST_LOCKFREE_STRESS_TEST
+ static const long node_count = 5000;
+#else
     static const long node_count = 50000;
+#endif
     const int reader_threads;
     const int writer_threads;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk