Skip to content

Commit

Permalink
[balancergroup_leak_child] c1
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed Mar 31, 2021
1 parent 8de7513 commit 59e211f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xds/internal/balancer/balancergroup/balancergroup_test.go
Expand Up @@ -957,10 +957,10 @@ func (s) TestBalancerGroup_CloseStopsBalancerInCache(t *testing.T) {
gator.Remove(testBalancerIDs[2])
bg.Remove(testBalancerIDs[2])

// Immediately close balancergroup, before the cache timeout
// Immediately close balancergroup, before the cache timeout.
bg.Close()

// Make sure the remove child balancer is closed.
// Make sure the removed child balancer is closed eventually.
select {
case <-closed:
case <-time.After(time.Second * 2):
Expand Down

0 comments on commit 59e211f

Please sign in to comment.