open-consul/snapshot
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
..
archive.go cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697) 2020-04-24 17:18:56 -05:00
archive_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
snapshot.go Enhance the output of consul snapshot inspect (#8787) 2020-10-09 14:57:29 -05:00
snapshot_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00