open-consul/command/operator/autopilot
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
..
get testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
set testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
state testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
operator_autopilot.go
operator_autopilot_test.go