From d0bbb86a2b07d90de0f5fe4cbb2e628708c748e4 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 12 Sep 2018 17:39:17 -0700 Subject: avoid collisions with ephemeral ports on foundry --- test/core/util/port_isolated_runtime_environment.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/core/util') diff --git a/test/core/util/port_isolated_runtime_environment.cc b/test/core/util/port_isolated_runtime_environment.cc index c1ca185a67..1f678c08e5 100644 --- a/test/core/util/port_isolated_runtime_environment.cc +++ b/test/core/util/port_isolated_runtime_environment.cc @@ -30,8 +30,8 @@ #include "test/core/util/port.h" -#define MIN_PORT 49152 -#define MAX_PORT 65535 +#define MIN_PORT 1025 +#define MAX_PORT 32766 static int get_random_port_offset() { srand(gpr_now(GPR_CLOCK_REALTIME).tv_nsec); -- cgit v1.2.3