summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorMartin Beck <martin.beck1@huawei.com>2021-11-24 18:46:46 +1100
committerDaniel Black <daniel@mariadb.org>2021-11-30 11:30:52 +1100
commit17802165a621e5c739e70d3eb427bd1cbaeaba8a (patch)
tree6515bf0ef912997f25fe18e9a0e849ba7898358f /unittest
parent4e0dcf1083ad905b36c69896bdf0731afc9d7fec (diff)
downloadmariadb-git-17802165a621e5c739e70d3eb427bd1cbaeaba8a.tar.gz
MDEV-27088: lf unit tests - cycles insufficient
Per bug report, cycles was woefully insufficient to detect any implementation error.
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/thr_template.c2
1 files changed, 1 insertions, 1 deletions
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);