Aestek
c043de5381
[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
c5ae9caa28
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
54c2ff6aca
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
e30cc73b1d
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
307d91934c
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
01f5db46e8
Close HTTP response in Agent test (HTTPAPI_MethodNotAllowed_OSS)
2018-04-10 13:18:46 -04:00
Matt Keeler
ebc6f414ac
Formatting update
2018-03-27 16:31:27 -04:00
Preetha Appan
2eed7766a8
cleanup unit test code a bit
2018-03-16 09:36:57 -05:00
Edd Steel
41b1d45cc7
Re-use defined endpoints for tests
2018-03-03 11:19:18 -08:00
Edd Steel
f770f360e9
Test every endpoint for OPTIONS/MethodNotFound
2018-02-17 17:34:13 -08:00
James Phillips
68f100c8df
Creates HTTP endpoint registry.
2017-11-29 18:36:52 -08:00