[glib/wip/nacho/gpoll: 9/10] 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: 9/10] win32: increase the fds and pollees on the gpoll test
- Date: Fri, 28 Dec 2018 12:29:18 +0000 (UTC)
commit a9ea169b64efa3f3d4df3e42285e582c1a2fa14f
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]