From 86f05e18c1e708fd0f72f3668f1e7446dbb4c69d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Mar 2019 15:43:19 +0100 Subject: Reduce test duration slightly --- test/maid_test.cpp | 2 +- test/ringbuffer_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 n_junk(0); static std::atomic 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]); } -- cgit v1.2.1