consul/command
Dhia Ayachi 4c7f5f31c7
debug: remove the CLI check for debug_enabled (#10273)
* debug: remove the CLI check for debug_enabled

The API allows collecting profiles even debug_enabled=false as long as
ACLs are enabled. Remove this check from the CLI so that users do not
need to set debug_enabled=true for no reason.

Also:
- fix the API client to return errors on non-200 status codes for debug
  endpoints
- improve the failure messages when pprof data can not be collected

Co-Authored-By: Dhia Ayachi <dhia@hashicorp.com>

* remove parallel test runs

parallel runs create a race condition that fail the debug tests

* Add changelog

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
2021-05-27 09:41:53 -04:00
..
acl testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
agent config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
catalog testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
config config-entry: use custom MarshalJSON for mesh type 2021-04-29 17:49:43 -04:00
connect redirecttraffic: fix a flaky test 2021-05-18 12:36:46 -04:00
debug debug: remove the CLI check for debug_enabled (#10273) 2021-05-27 09:41:53 -04:00
event testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
exec testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
flags ci: update to Go 1.15.4 and alpine:3.12 (#9036) 2020-11-13 13:02:59 -05:00
forceleave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
intention Fix flaky CLI Intention Listing Test 2021-01-19 15:27:49 -05:00
join testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
kv command/kv: Add prefix option to kv import command 2021-02-19 14:07:25 +03:00
leave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
lock testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
login Give descriptive error if auth method not found (#10163) 2021-05-03 13:39:13 -07:00
logout testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
maint agent: move deprecated AddServiceFromSource to a test file 2021-01-25 17:25:03 -05:00
members testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
monitor testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
operator testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
reload testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
rtt testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
services Fixup tests 2021-04-13 16:08:41 -06:00
snapshot Fix panic bug in snapshot inspect (#10091) 2021-04-23 20:48:10 +01:00
tls introduce certopts (#9606) 2021-03-22 10:16:41 +01:00
validate config: replace calls to config.NewBuilder with config.Load 2021-01-27 17:34:43 -05:00
version add v to version pretty formatter (#8341) 2020-07-20 17:43:10 -04:00
watch testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
commands_oss.go cli: Add new `consul connect redirect-traffic` command for applying traffic redirection rules when Transparent Proxy is enabled. (#9910) 2021-04-09 11:48:10 -07:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00