From b123bbe6c0e3721d363785638808a92b1175759b Mon Sep 17 00:00:00 2001 From: Daan Date: Mon, 3 Jun 2024 21:13:34 -0700 Subject: [PATCH] increase iterations for tsan test --- test/test-stress.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/test-stress.c b/test/test-stress.c index 2d1927cc..0dfa1668 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -27,12 +27,15 @@ terms of the MIT license. // argument defaults #if !defined(MI_TSAN) static int THREADS = 32; // more repeatable if THREADS <= #processors -#else // with thread-sanitizer reduce the defaults for azure pipeline limits -static int THREADS = 8; -#endif - static int SCALE = 25; // scaling factor static int ITER = 50; // N full iterations destructing and re-creating all threads +#else // with thread-sanitizer reduce the threads to test within the azure pipeline limits +static int THREADS = 8; +static int SCALE = 25; // scaling factor +static int ITER = 200; // N full iterations destructing and re-creating all threads +#endif + + #define STRESS // undefine for leak test