envoyproxy / xds-relay

Caching, aggregation, and relaying for xDS compliant clients and origin servers
Apache License 2.0
132 stars 29 forks source link

Use race detector in go tests #210

Open jyotimahapatra opened 4 years ago

jyotimahapatra commented 4 years ago

We should use -race in https://github.com/envoyproxy/xds-relay/blob/master/Makefile#L17 to make sure to avoid race conditions. Adding the flag will expose some existing race conditions in code and test.