consul/.circleci
Daniel Nephin 2e2ee41390 xds: Fix data race
TestEnvoy.Close used e.stream.recvCh == nil to indicate the channel had already
been closed, so that TestEnvoy.Close can be called multiple times. The recvCh
was not protected by a lock, so setting it to nil caused a data race with any
goroutine trying to read from the channel.

Instead set the stream to nil. The stream is guarded by a lock, so it does not race.

This change allows us to test the agent/xds package using -race.
2021-01-07 18:13:48 -05:00
..
scripts ci: reword cherry-picker comment (#9192) 2020-11-13 17:14:47 -05:00
bash_env.sh add back missing quote in bashenv for CI (#8317) 2020-07-15 17:21:40 -04:00
config.yml xds: Fix data race 2021-01-07 18:13:48 -05:00