Commit 17802165 authored by Martin Beck's avatar Martin Beck Committed by Daniel Black

MDEV-27088: lf unit tests - cycles insufficient

Per bug report, cycles was woefully insufficient to
detect any implementation error.
parent 4e0dcf10
...@@ -60,7 +60,7 @@ int main(int argc __attribute__((unused)), char **argv) ...@@ -60,7 +60,7 @@ int main(int argc __attribute__((unused)), char **argv)
pthread_mutex_init(&mutex, 0); pthread_mutex_init(&mutex, 0);
#define CYCLES 3000 #define CYCLES 30000
#define THREADS 30 #define THREADS 30
diag("N CPUs: %d, atomic ops: %s", my_getncpus(), MY_ATOMIC_MODE); diag("N CPUs: %d, atomic ops: %s", my_getncpus(), MY_ATOMIC_MODE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment