()
| 65 | } |
| 66 | |
| 67 | func newTestConfigBalancerBuilder() *testConfigBalancerBuilder { |
| 68 | return &testConfigBalancerBuilder{ |
| 69 | Builder: balancer.Get(roundrobin.Name), |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | // pickAndCheckError returns a function which takes a picker, invokes the Pick() method |
| 74 | // multiple times and ensures that the error returned by the picker matches the provided error. |