open-consul/agent/consul/stream
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
..
event.go stream: document that Payload must be immutable 2020-11-06 13:00:33 -05:00
event_buffer.go stream: close the subscription on Unsubscribe 2020-10-22 13:39:27 -04:00
event_buffer_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
event_publisher.go stream: document that Payload must be immutable 2020-11-06 13:00:33 -05:00
event_publisher_test.go stream: rename FilterByKey 2020-11-05 19:21:16 -05:00
event_snapshot.go stream: remove Event.Key 2020-10-28 16:48:04 -04:00
event_snapshot_test.go stream: remove Event.Key 2020-10-28 16:48:04 -04:00
event_test.go stream: document that Payload must be immutable 2020-11-06 13:00:33 -05:00
noop.go stream: Use a no-op event publisher if streaming is disabled 2020-10-28 13:54:19 -04:00
subscription.go stream: document that Payload must be immutable 2020-11-06 13:00:33 -05:00
subscription_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00