open-consul/test
Frank Schroeder 74859ff3c0 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
..
bin test: log exit code in cluster.bash 2017-06-08 14:06:10 +02:00
ca Updates unit test certs for another year. 2017-06-05 19:22:20 -07:00
ca_path Add tls client options to api/cli 2017-04-14 13:37:29 -07:00
client_certs Add tls client options to api/cli 2017-04-14 13:37:29 -07:00
command/merge Add utility types to enable checking for unset flags 2017-02-07 20:14:41 -05:00
hostname Updates expired test certs and includes a script to generate new certs. 2017-05-12 09:28:21 +02:00
key Updates unit test certs for another year. 2017-06-05 19:22:20 -07:00
snapshot
notes.txt