(cc balancer.ClientConn)
| 671 | } |
| 672 | |
| 673 | func newStateCapturingCC(cc balancer.ClientConn) *stateCapturingCC { |
| 674 | return &stateCapturingCC{ |
| 675 | ClientConn: cc, |
| 676 | stateCh: make(chan balancer.State, 10), // Some operations result in multiple UpdateState calls. |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | // Test that when a data cache entry is evicted due to config change |
| 681 | // in cache size, the picker is updated accordingly. |
no outgoing calls
no test coverage detected