From 17802165a621e5c739e70d3eb427bd1cbaeaba8a Mon Sep 17 00:00:00 2001 From: Martin Beck Date: Wed, 24 Nov 2021 18:46:46 +1100 Subject: MDEV-27088: lf unit tests - cycles insufficient Per bug report, cycles was woefully insufficient to detect any implementation error. --- unittest/mysys/thr_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/mysys/thr_template.c b/unittest/mysys/thr_template.c index 5f01dfbe055..724fa8036cd 100644 --- a/unittest/mysys/thr_template.c +++ b/unittest/mysys/thr_template.c @@ -60,7 +60,7 @@ int main(int argc __attribute__((unused)), char **argv) pthread_mutex_init(&mutex, 0); -#define CYCLES 3000 +#define CYCLES 30000 #define THREADS 30 diag("N CPUs: %d, atomic ops: %s", my_getncpus(), MY_ATOMIC_MODE); -- cgit v1.2.1