summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 15:43:19 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 15:43:19 +0100
commit86f05e18c1e708fd0f72f3668f1e7446dbb4c69d (patch)
treeb8594f227891e0949c4932deb9c7efb8939a5e24
parente0049be46dd324f9d23d666b0e7915a57f7c0ebe (diff)
downloadraul-86f05e18c1e708fd0f72f3668f1e7446dbb4c69d.tar.gz
raul-86f05e18c1e708fd0f72f3668f1e7446dbb4c69d.tar.bz2
raul-86f05e18c1e708fd0f72f3668f1e7446dbb4c69d.zip
Reduce test duration slightly
-rw-r--r--test/maid_test.cpp2
-rw-r--r--test/ringbuffer_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/maid_test.cpp b/test/maid_test.cpp
index 94e09c6..c2a5856 100644
--- a/test/maid_test.cpp
+++ b/test/maid_test.cpp
@@ -29,7 +29,7 @@
using Raul::Maid;
static const size_t n_threads = 8U;
-static const size_t n_junk_per_thread = 1U << 18U;
+static const size_t n_junk_per_thread = 1U << 16U;
static std::atomic<size_t> n_junk(0);
static std::atomic<size_t> n_finished_threads(0);
diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp
index daae419..8713be3 100644
--- a/test/ringbuffer_test.cpp
+++ b/test/ringbuffer_test.cpp
@@ -123,7 +123,7 @@ main(int argc, char** argv)
Context ctx;
- size_t size = 1024;
+ size_t size = 512;
if (argc > 1) {
size = std::stoul(argv[1]);
}