From a3b7305b2bb3a3e73ecbf4fd999444651367a3e5 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Tue, 27 Dec 2011 01:27:46 +0100 Subject: [PATCH] reduce number of threads for some tests they tend to fail when running under builddrone --- tests/lib/diagnostic-context-test.cpp | 2 +- tests/lib/thread-local-test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/diagnostic-context-test.cpp b/tests/lib/diagnostic-context-test.cpp index 07f3f43ed..001c92cef 100644 --- a/tests/lib/diagnostic-context-test.cpp +++ b/tests/lib/diagnostic-context-test.cpp @@ -39,7 +39,7 @@ namespace test{ namespace { // private test setup... - const uint NUM_THREADS = 100; + const uint NUM_THREADS = 50; const uint MAX_RAND = 1000*1000; inline bool diff --git a/tests/lib/thread-local-test.cpp b/tests/lib/thread-local-test.cpp index 45465045d..114ba4c05 100644 --- a/tests/lib/thread-local-test.cpp +++ b/tests/lib/thread-local-test.cpp @@ -38,7 +38,7 @@ namespace test{ namespace { // private test setup... - const uint NUM_THREADS = 100; + const uint NUM_THREADS = 50; const uint MAX_RAND = 5*1000*1000;