open-consul/consul
Frank Schroeder eedf0f3ac5 test: add helper for ioutil.TempDir/TempFile
This creates a simplified helper for temporary directories and files.
All path names are prefixed with the name of the current test.
All files and directories are stored either in /tmp/consul-test
or /tmp if the former could not be created.

Using the system temp dir breaks some tests on macOS where the unix
socket path becomes too long.
2017-05-12 22:12:47 +02:00
..
agent Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
prepared_query golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
servers golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
state api: Add ServiceTags to Health state endpoint (#153) 2017-04-28 15:00:08 -07:00
structs api: Add ServiceTags to Health state endpoint (#153) 2017-04-28 15:00:08 -07:00
acl.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
acl_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
acl_endpoint_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
acl_replication.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
acl_replication_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
acl_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
autopilot.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00
autopilot_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
catalog_endpoint.go agent: Disallow :: and [::] as service address 2017-05-09 17:56:15 +02:00
catalog_endpoint_test.go agent: Disallow :: and [::] as service address 2017-05-09 17:56:15 +02:00
client.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
client_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
config.go Removes a stale comment about the RPC source address. 2017-05-10 20:45:19 -07:00
config_test.go Adds support for a new "acl_agent_token" which is used for internal 2016-12-12 14:52:27 -08:00
coordinate_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
coordinate_endpoint_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
endpoints.md consul: remove explicit leave, use reconciliation 2014-05-28 16:32:24 -07:00
filter.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
filter_test.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
flood.go Fix vet issues 2017-03-23 20:29:31 -04:00
fsm.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
fsm_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
health_endpoint.go Fix imports 2017-05-05 17:07:00 +02:00
health_endpoint_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
helper_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
internal_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
internal_endpoint_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
issue_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
kvs_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
kvs_endpoint_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leader.go Adds timeout and waits for feedback when asking the leader loop to reassert. 2017-05-04 11:52:22 -07:00
leader_test.go Tweaks some tests that were having a hard time in Travis CI and 2017-05-09 06:48:26 -07:00
merge.go Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
merge_test.go Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
operator_autopilot_endpoint.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_endpoint_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
operator_endpoint.go Moves operator sub-functions into their own files. 2017-03-30 12:35:50 -07:00
operator_raft_endpoint.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_endpoint_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
pool.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
prepared_query_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
prepared_query_endpoint_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
raft_rpc.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
rpc.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
rpc_test.go golint: No stutter 2017-04-25 09:26:13 -07:00
rtt.go Removes remoteConsuls in favor of the new router. 2017-03-16 16:42:19 -07:00
rtt_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
serf.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
serf_test.go agent: -encrypt appends to keyring if one exists 2014-11-19 16:36:01 -08:00
server.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
server_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
session_endpoint.go golint: No stutter 2017-04-25 09:26:13 -07:00
session_endpoint_test.go test: Speedup session renew tests 2017-04-27 10:34:30 -07:00
session_ttl.go Adds fine-grained watches to session endpoints. 2017-01-25 09:58:22 -08:00
session_ttl_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
snapshot_endpoint.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
snapshot_endpoint_test.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
stats_fetcher.go Add a path for transitioning to TLS on an existing cluster (#3001) 2017-05-10 14:25:48 -07:00
stats_fetcher_test.go test: simplify joining clusters 2017-05-05 17:07:04 +02:00
status_endpoint.go Move RaftStats to Status endpoint 2017-03-07 13:58:06 -08:00
status_endpoint_test.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
txn_endpoint.go Fix vet issues 2017-03-23 20:29:31 -04:00
txn_endpoint_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
util.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00
util_test.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00