Skip to content

xds/xdsclient: race in SetWatchExpiryTimeoutForTesting #8525

Description

@eshitachandwani

There is a race in SetWatchExpiryTimeoutForTesting which is used to override the watch expiry timeout of XDSClient for testing. Currently it just sets the watchExpiryTimeout of the XDSClient to the provided value without a mutex each time we call NewClientForTesting which might of might not create a new XDSClient if one is already there.

Metadata

Metadata

Labels

Area: xDSIncludes everything xDS related, including LB policies used with xDS.Type: Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions