open-consul/agent/cache-types
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
..
catalog_datacenters.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_datacenters_test.go ci: enable SA4006 staticcheck check 2020-06-16 13:10:11 -04:00
catalog_list_services.go agent/cache: Use AllowNotModifiedResponse in CatalogListServices 2020-07-14 18:58:20 -04:00
catalog_list_services_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
catalog_service_list.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_service_list_test.go Gateway Services Nodes UI Endpoint (#7685) 2020-05-11 11:35:17 -06:00
catalog_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
catalog_services_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
config_entry.go Add TLS option and DNS SAN support to ingress config 2020-05-06 15:12:02 -05:00
config_entry_test.go Add TLS option and DNS SAN support to ingress config 2020-05-06 15:12:02 -05:00
connect_ca_leaf.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
connect_ca_leaf_oss.go Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
connect_ca_leaf_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
connect_ca_root.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
connect_ca_root_test.go agent/cache-types: rename to separate root and leaf cache types 2018-06-14 09:42:01 -07:00
discovery_chain.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
discovery_chain_test.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
federation_state_list_gateways.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
federation_state_list_gateways_test.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
gateway_services.go Move GatewayServices out of Internal 2020-06-12 13:46:47 -06:00
gateway_services_test.go Move compound service names to use ServiceName type 2020-06-12 13:47:43 -06:00
health_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
health_services_test.go bugfix: use ServiceTags to generate cache key hash (#4987) 2019-01-07 21:30:47 +00:00
intention_match.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
intention_match_test.go agent/cache: address PR feedback, lots of typos 2018-06-14 09:42:03 -07:00
mock_RPC.go
node_services.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
node_services_test.go Allow DNS interface to use agent cache (#5300) 2019-02-25 14:06:01 -05:00
norace_test.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
options.go Disable background cache refresh for Connect Leaf Certs 2020-07-21 12:19:25 -04:00
prepared_query.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
prepared_query_test.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
race_test.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00
resolved_service_config.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
resolved_service_config_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
rpc.go
service_checks.go Return nil value on error. 2020-08-05 13:10:17 -04:00
service_checks_test.go Fix a number of problems found by staticcheck 2020-05-19 16:50:14 -04:00
service_dump.go end to end changes to pass gatewayservices to /ui/services/ 2020-07-30 10:21:11 -06:00
service_dump_test.go Fix test build 2020-08-06 11:31:56 -06:00
streaming_events_test.go proto: remove Event.Key field 2020-10-28 16:33:00 -04:00
streaming_health_services.go Applied suggestions from @dnephin 2020-11-25 21:40:51 +01:00
streaming_health_services_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
streaming_test.go cache-type: use namespace in tests 2020-10-30 15:07:04 -04:00
testing.go cache-types: skip tests with races 2020-10-08 20:15:13 -04:00