()
| 1293 | } |
| 1294 | |
| 1295 | func (t *testCCWrapper) getStates() []balancer.State { |
| 1296 | t.mu.Lock() |
| 1297 | defer t.mu.Unlock() |
| 1298 | |
| 1299 | states := make([]balancer.State, len(t.states)) |
| 1300 | copy(states, t.states) |
| 1301 | return states |
| 1302 | } |
| 1303 | |
| 1304 | // TestUpdateStatePauses tests the scenario where a config update received by |
| 1305 | // the RLS LB policy results in multiple UpdateState calls from the child |
no test coverage detected