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
This commit is contained in:
Ignacio Casal Quinteiro 2018-12-28 12:59:05 +01:00
parent 24714b50df
commit a9ea169b64

View File

@ -19,12 +19,12 @@
#include <glib.h> #include <glib.h>
#include <Winsock2.h> #include <Winsock2.h>
#define NUM_POLLEES 63 #define NUM_POLLEES 999
#define NUM_POLLFDS 64 #define NUM_POLLFDS 1000
#define ASYNC_CONNECT_OK(r) (r == 0 || (r < 0 && GetLastError () == WSAEWOULDBLOCK)) #define ASYNC_CONNECT_OK(r) (r == 0 || (r < 0 && GetLastError () == WSAEWOULDBLOCK))
#define REPEAT 1000 #define REPEAT 1
static void static void
init_networking (void) init_networking (void)