From: Nick Mathewson Date: Tue, 16 Mar 2010 17:37:15 +0000 (-0400) Subject: Make 'main/many_events' test 70 fds, not 64. X-Git-Tag: release-2.0.5-beta~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33874b05286834b6ec690ee2ae22912691ec6d85;p=libevent Make 'main/many_events' test 70 fds, not 64. This is mainly intended to ensure that we don't get hung up on the 64-handle limit that lots of O(n) Windows functions (but FWICT not select) like to enforce. --- diff --git a/test/regress.c b/test/regress.c index 96aebc60..ae932cc9 100644 --- a/test/regress.c +++ b/test/regress.c @@ -2014,9 +2014,11 @@ many_event_cb(evutil_socket_t fd, short event, void *arg) static void test_many_events(void *arg) { - /* Try 64 events that should all be aready at once. This will - * exercise the "resize" code on most of the backends. */ -#define MANY 64 + /* Try 70 events that should all be aready at once. This will + * exercise the "resize" code on most of the backends, and will make + * sure that we can get past the 64-handle limit of some windows + * functions. */ +#define MANY 70 struct basic_test_data *data = arg; struct event_base *base = data->base;