increase iterations for tsan test

This commit is contained in:
Daan 2024-06-03 21:13:34 -07:00
parent 0c322c5566
commit b123bbe6c0
1 changed files with 7 additions and 4 deletions

View File

@ -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