open-consul/agent
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
..
config config: remove redundant code 2017-10-11 10:16:21 +02:00
consul test: replace porter tool with freeport lib 2017-10-21 22:01:09 +02:00
metadata
mock
pool
router
structs Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
systemd
token
acl.go
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
agent.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
agent_endpoint.go Fixes agent error handling when check definition is invalid. Distingu… (#3560) 2017-10-10 16:54:06 -07:00
agent_endpoint_test.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
agent_test.go
bindata_assetfs.go Fixes an XSS issue with unescaped node names. (#3578) 2017-10-16 09:12:36 -07:00
blacklist.go
blacklist_test.go
catalog_endpoint.go
catalog_endpoint_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
check.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
check_test.go
config.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
coordinate_endpoint.go
coordinate_endpoint_test.go
dns.go dns: return NXDOMAIN if datacenter is invalid (#3200) (#3596) 2017-10-20 16:49:17 -07:00
dns_test.go dns: return NXDOMAIN if datacenter is invalid (#3200) (#3596) 2017-10-20 16:49:17 -07:00
docker.go
docker_unix.go
docker_windows.go
event_endpoint.go
event_endpoint_test.go
health_endpoint.go
health_endpoint_test.go
http.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
http_test.go
keyring.go
keyring_test.go
kvs_endpoint.go
kvs_endpoint_test.go
local.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
local_test.go agent: add option to discard health output (#3562) 2017-10-10 17:04:52 -07:00
notify.go
notify_test.go
operator_endpoint.go
operator_endpoint_test.go
prepared_query_endpoint.go
prepared_query_endpoint_test.go
remote_exec.go
remote_exec_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
retry_join.go
retry_join_test.go
session_endpoint.go
session_endpoint_test.go
snapshot_endpoint.go
snapshot_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
testagent.go test: replace porter tool with freeport lib 2017-10-21 22:01:09 +02:00
testagent_test.go
translate_addr.go
txn_endpoint.go
txn_endpoint_test.go
ui_endpoint.go
ui_endpoint_test.go
user_event.go
user_event_test.go
util.go
util_other.go Kill check processes after the timeout is reached (#3567) 2017-10-11 11:57:39 -07:00
util_test.go
util_windows.go Kill check processes after the timeout is reached (#3567) 2017-10-11 11:57:39 -07:00
watch_handler.go
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00