[glib/wip/nacho/gpoll] win32: increase the fds and pollees on the gpoll test
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/nacho/gpoll] win32: increase the fds and pollees on the gpoll test
- Date: Fri, 28 Dec 2018 12:02:18 +0000 (UTC)
commit 90a44a90d12ff4e8c3a11b36c0f85327d950d546
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Fri Dec 28 12:59:05 2018 +0100
win32: increase the fds and pollees on the gpoll test
Also change the repeat define to do a single pass so we do
not timeout
glib/tests/gpoll.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/tests/gpoll.c b/glib/tests/gpoll.c
index 58656d3f1..7ac1bef90 100644
--- a/glib/tests/gpoll.c
+++ b/glib/tests/gpoll.c
@@ -19,12 +19,12 @@
#include <glib.h>
#include <Winsock2.h>
-#define NUM_POLLEES 63
-#define NUM_POLLFDS 64
+#define NUM_POLLEES 999
+#define NUM_POLLFDS 1000
#define ASYNC_CONNECT_OK(r) (r == 0 || (r < 0 && GetLastError () == WSAEWOULDBLOCK))
-#define REPEAT 1000
+#define REPEAT 1
static void
init_networking (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]