consul/connect
Daniel Nephin b27457dac8 ci: go-test-race switch to exclude list
Most packages should pass the race detector. An exclude list ensures
that new packages are automatically tested with -race.

Also fix a couple small test races to allow more packages to be tested.

Returning readyCh requires a lock because it can be set to nil, and
setting it to nil will race without the lock.

Move the TestServer.Listening calls around so that they properly guard
setting TestServer.l. Otherwise it races.

Remove t.Parallel in a small package. The entire package tests run in a
few seconds, so t.Parallel does very little.

In auto-config, wait for the AutoConfig.run goroutine to stop before
calling readPersistedAutoConfig. Without this change there was a data
race on reading ac.config.
2020-11-11 14:44:57 -05:00
..
certgen Fix support for RSA CA keys in Connect. (#6638) 2019-11-01 13:20:26 +00:00
proxy ci: go-test-race switch to exclude list 2020-11-11 14:44:57 -05:00
example_test.go connect.Service based implementation after review feedback. 2018-06-14 09:41:56 -07:00
resolver.go Ensure Consul is IPv6 compliant (#5468) 2019-06-04 10:02:38 -04:00
resolver_test.go Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
service.go fix use of hclog logger (#7264) 2020-02-12 09:37:16 -06:00
service_test.go ci: go-test-race switch to exclude list 2020-11-11 14:44:57 -05:00
testing.go ci: go-test-race switch to exclude list 2020-11-11 14:44:57 -05:00
tls.go ci: go-test-race switch to exclude list 2020-11-11 14:44:57 -05:00
tls_test.go connect: intentions are now managed as a new config entry kind "service-intentions" (#8834) 2020-10-06 13:24:05 -05:00