test: skip some UDP tests on IBMi
The watcher_cross_stop test timeout with too many AF_INET sockets on IBMi PASE. In the udp_connect test, UDP connections can not be disconnected with AF_UNSPEC on IBMi PASE. PR-URL: https://github.com/libuv/libuv/pull/2673 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
parent
c07a7c6cfa
commit
a9a371e4cf
@ -98,6 +98,10 @@ static void sv_recv_cb(uv_udp_t* handle,
|
||||
|
||||
|
||||
TEST_IMPL(udp_connect) {
|
||||
#if defined(__PASE__)
|
||||
RETURN_SKIP(
|
||||
"IBMi PASE's UDP connection can not be disconnected with AF_UNSPEC.");
|
||||
#endif
|
||||
uv_udp_send_t req;
|
||||
struct sockaddr_in ext_addr;
|
||||
struct sockaddr_in tmp_addr;
|
||||
|
||||
@ -26,8 +26,9 @@
|
||||
#include <errno.h>
|
||||
|
||||
/* NOTE: Number should be big enough to trigger this problem */
|
||||
#if defined(__CYGWIN__) || defined(__MSYS__)
|
||||
#if defined(__CYGWIN__) || defined(__MSYS__) || defined(__PASE__)
|
||||
/* Cygwin crashes or hangs in socket() with too many AF_INET sockets. */
|
||||
/* IBMi PASE timeout with too many AF_INET sockets. */
|
||||
static uv_udp_t sockets[1250];
|
||||
#else
|
||||
static uv_udp_t sockets[2500];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user