<HTML><BODY><div><div>Stress tests failed due to lack of fds for mac. The problem was in the<br>libev library where DARWIN_UNLIMITED_SELECT flag was defined too late<br>to do the trick.</div><div> </div><div>Closes #3867, #4673</div><div><br>---<br>Issues:<br><a href="https://github.com/tarantool/tarantool/issues/3867https://github.com/tarantool/tarantool/issues/4673Branch:https://github.com/tarantool/tarantool/compare/eljashm/gh-4673-replication-flaky-test">https://github.com/tarantool/tarantool/issues/3867<br>https://github.com/tarantool/tarantool/issues/4673</a><br>Branch:</div><div><a href="https://github.com/tarantool/tarantool/issues/3867https://github.com/tarantool/tarantool/issues/4673Branch:https://github.com/tarantool/tarantool/compare/eljashm/gh-4673-replication-flaky-test">https://github.com/tarantool/tarantool/compare/eljashm/gh-4673-replication-flaky-test</a></div><div> </div><div> third_party/libev/ev.c | 16 ++++++++--------<br> 1 file changed, 8 insertions(+), 8 deletions(-)</div><div>diff --git a/third_party/libev/ev.c b/third_party/libev/ev.c<br>index 6a2648591..b65a77e0e 100644<br>--- a/third_party/libev/ev.c<br>+++ b/third_party/libev/ev.c<br>@@ -196,6 +196,14 @@<br> # define ECB_NO_SMP 1<br> #endif<br> <br>+/* OS X, in its infinite idiocy, actually HARDCODES<br>+ * a limit of 1024 into their select. Where people have brains,<br>+ * OS X engineers apparently have a vacuum. Or maybe they were<br>+ * ordered to have a vacuum, or they do anything for money.<br>+ * This might help. Or not.<br>+ */<br>+#define _DARWIN_UNLIMITED_SELECT 1<br>+<br> #ifndef _WIN32<br> # include <sys/time.h><br> # include <sys/wait.h><br>@@ -211,14 +219,6 @@<br> # undef EV_AVOID_STDIO<br> #endif<br> <br>-/* OS X, in its infinite idiocy, actually HARDCODES<br>- * a limit of 1024 into their select. Where people have brains,<br>- * OS X engineers apparently have a vacuum. Or maybe they were<br>- * ordered to have a vacuum, or they do anything for money.<br>- * This might help. Or not.<br>- */<br>-#define _DARWIN_UNLIMITED_SELECT 1<br>-<br> /* this block tries to deduce configuration from header-defined symbols and defaults */<br> <br> /* try to deduce the maximum number of signals on this platform */<br>-- <br>2.24.0</div></div><div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--<br>Maria Khaydich</div></div></div></BODY></HTML>