Aestek
154c41e165
[Security] Allow blocking Write endpoints on Agent using Network Addresses ( #4719 )
...
* Add -write-allowed-nets option
* Add documentation for the new write_allowed_nets option
2019-01-10 09:27:26 -05:00
Pierre Souchay
d0ca1bade9
Fixed another list of unstable unit tests in travis ( #4915 )
...
* Fixed another list of unstable unit tests in travis
Fixed failing tests in https://travis-ci.org/hashicorp/consul/jobs/451357061
* Fixed another list of unstable unit tests in travis.
Fixed failing tests in https://travis-ci.org/hashicorp/consul/jobs/451357061
2018-11-20 11:27:26 +00:00
Paul Banks
bc5333905a
connect: remove additional trust-domain validation ( #4934 )
...
* connct: Remove additional trust-domain validation
* Comment typos
* Update connect_ca.go
2018-11-12 20:20:12 +00:00
R.B. Boyer
003dacb340
Update agent tests to wait a bit longer for the /v1/agent/self endpoint ( #4937 )
2018-11-09 10:35:47 -06:00
R.B. Boyer
f15bce9f20
fix some test hangs ( #4785 )
...
The default http.Client uses infinite timeouts, so if TestHTTPAPI_MethodNotAllowed_OSS experienced anything going wrong about setup it could hang forever.
Switching to hard coding various http.Client timeouts to non-infinite values at least bounds the failure time.
2018-10-16 16:04:51 -05:00
Isaac Williams
2926294865
Close HTTP response in Agent test (HTTPAPI_MethodNotAllowed_OSS)
2018-04-10 13:18:46 -04:00
Matt Keeler
fd9297ad8f
Formatting update
2018-03-27 16:31:27 -04:00
Preetha Appan
84bd6dc5d1
cleanup unit test code a bit
2018-03-16 09:36:57 -05:00
Edd Steel
413cb3d3b5
Re-use defined endpoints for tests
2018-03-03 11:19:18 -08:00
Edd Steel
61be181f6f
Test every endpoint for OPTIONS/MethodNotFound
2018-02-17 17:34:13 -08:00
James Phillips
8f802411c4
Creates HTTP endpoint registry.
2017-11-29 18:36:52 -08:00