summaryrefslogtreecommitdiff
path: root/unittest/mysys/thr_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/mysys/thr_template.c')
-rw-r--r--unittest/mysys/thr_template.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittest/mysys/thr_template.c b/unittest/mysys/thr_template.c
index 1ac03e474fd..e6af1fb12e2 100644
--- a/unittest/mysys/thr_template.c
+++ b/unittest/mysys/thr_template.c
@@ -82,7 +82,9 @@ int main(int argc __attribute__((unused)), char **argv)
workaround until we know why it crashes randomly on some machine
(BUG#22320).
*/
- sleep(2);
+#ifdef NOT_USED
+ sleep(1);
+#endif
pthread_mutex_destroy(&mutex);
pthread_cond_destroy(&cond);
pthread_attr_destroy(&thr_attr);