consul/lib
Frank Schroeder c94751ad43 test: replace porter tool with freeport lib
This patch removes the porter tool which hands out free ports from a
given range with a library which does the same thing. The challenge for
acquiring free ports in concurrent go test runs is that go packages are
tested concurrently and run in separate processes. There has to be some
inter-process synchronization in preventing processes allocating the
same ports.

freeport allocates blocks of ports from a range expected to be not in
heavy use and implements a system-wide mutex by binding to the first
port of that block for the lifetime of the application. Ports are then
provided sequentially from that block and are tested on localhost before
being returned as available.
2017-10-21 22:01:09 +02:00
..
freeport test: replace porter tool with freeport lib 2017-10-21 22:01:09 +02:00
cluster.go golint: Fix existing comments 2017-04-25 09:26:13 -07:00
cluster_test.go Guard against divide by zero in lib.RandomStagger() 2016-04-23 13:11:32 -07:00
eof.go Makes RPC handling more robust when rolling servers. (#3561) 2017-10-10 15:19:50 -07:00
math.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
math_test.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
path.go Adds basic support for node IDs. 2017-01-17 22:47:59 -08:00
rand.go Use a cryptographically secure seed 2016-05-02 23:52:37 -07:00
rtt.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
rtt_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
string.go Cull unused function and its unit test. 2016-02-01 22:40:19 -08:00
string_test.go Cull unused function and its unit test. 2016-02-01 22:26:57 -08:00