open-consul/command/acl/policy
Daniel Nephin ef0999547a 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
..
create testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
delete testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
list testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
read testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
update testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
formatter.go Add ACL CLI commands output format option. 2020-03-26 19:05:10 +03:00
policy.go