open-consul/agent/local
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
..
state.go local: mark service and checks as InSync when added 2020-11-27 15:31:12 -05:00
state_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
testing.go Fix a bunch of linter warnings 2020-11-09 09:22:12 -05:00