From 15e3c1f166ae3519121df28923d0923d53632005 Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Sun, 30 Oct 2022 13:58:28 +0900 Subject: [PATCH] Fix to avoid port (7777) conflicts on Mac OS X --- tests/core/poll-test.c | 2 +- tests/core/socket-test.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/poll-test.c b/tests/core/poll-test.c index 02476863b..0c2563b72 100644 --- a/tests/core/poll-test.c +++ b/tests/core/poll-test.c @@ -22,7 +22,7 @@ #define DATASTR "This is a test" #define STRLEN 8092 -#define PORT 7777 +#define PORT 47777 #define NUM 100 #ifndef AI_PASSIVE diff --git a/tests/core/socket-test.c b/tests/core/socket-test.c index 7ae84a57f..280715093 100644 --- a/tests/core/socket-test.c +++ b/tests/core/socket-test.c @@ -22,8 +22,8 @@ #define DATASTR "This is a test" #define STRLEN 8092 -#define PORT 7777 -#define PORT2 7778 +#define PORT 47777 +#define PORT2 47778 #ifndef AI_PASSIVE #define AI_PASSIVE 1