Merge pull request #16620 from jtattermusch/port_picking_foundry_fun

Avoid collisions with ephemeral ports on foundry
pull/16622/head
Jan Tattermusch 6 years ago committed by GitHub
commit ea232d16d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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);

Loading…
Cancel
Save