From 33874b05286834b6ec690ee2ae22912691ec6d85 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 16 Mar 2010 13:37:15 -0400 Subject: [PATCH] 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. --- test/regress.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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;