consul/agent/cache
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
..
cache.go add missing descriptions for metrics 2020-11-23 22:06:30 +01:00
cache_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
entry.go lib/ttlcache: extract package from agent/cache 2020-10-20 19:10:20 -04:00
mock_Request.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
mock_Type.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
request.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
testing.go Decrease test flakiness 2020-08-24 20:30:02 +01:00
type.go agent/cache: Use AllowNotModifiedResponse in CatalogListServices 2020-07-14 18:58:20 -04:00
watch.go Make the Agent Cache more Context aware (#8092) 2020-06-15 11:01:25 -04:00
watch_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00