consul/command
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
Add a skip condition to all tests slower than 100ms.

This change was made using `gotestsum tool slowest` with data from the
last 3 CI runs of master.
See https://github.com/gotestyourself/gotestsum#finding-and-skipping-slow-tests

With this change:

```
$ time go test -count=1 -short ./agent
ok      github.com/hashicorp/consul/agent       0.743s

real    0m4.791s

$ time go test -count=1 -short ./agent/consul
ok      github.com/hashicorp/consul/agent/consul        4.229s

real    0m8.769s
```
2020-12-07 13:42:55 -05:00
..
acl testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
agent testing: skip slow tests with -short 2020-12-07 13:42:55 -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 testing: skip slow tests with -short 2020-12-07 13:42:55 -05: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 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 testing: skip slow tests with -short 2020-12-07 13:42:55 -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 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 testing: skip slow tests with -short 2020-12-07 13:42:55 -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 testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
snapshot testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
tls testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
validate testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04: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 Add a CLI command for retrieving the autopilot configuration. (#9142) 2020-11-11 13:19:02 -05:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00