open-consul/command
Daniel Nephin fc88c28bb9 config: make config.TestLoad_FullConfig use config.Load
This commit makes a number of changes that should make
TestLoad_FullConfig easier to work with, and make the test more like
real world scenarios.

* use separate files in testdata/ dir to store the config source.
  Separate files are much easier to edit because editors can syntax
  highlight json/hcl, and it makes strings easier to find. Previously
  trying to find strings would match strings used in other tests.
* use the exported config.Load interface instead of internal NewBuilder
  and BuildAndValidate.
* remove the tail config overrides, which are only necessary with
  nonZero works.
2021-01-27 17:51:53 -05: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 testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
connect chore: regenerate envoy golden files (#9634) 2021-01-25 14:03:15 -06:00
debug testing: skip slow tests with -short 2020-12-07 13:42:55 -05: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
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
keyring testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
kv testing: skip slow tests with -short 2020-12-07 13:42:55 -05: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 testing: skip slow tests with -short 2020-12-07 13:42:55 -05: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 config: replace calls to config.NewBuilder with config.Load 2021-01-27 17:34:43 -05:00
snapshot testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
tls Add flags to support CA generation for Connect (#9585) 2021-01-27 08:52:15 +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 consul intention list command (based on PR #6825) (#9468) 2021-01-12 21:14:31 +01:00
registry.go