()
| 66 | } |
| 67 | |
| 68 | func init() { |
| 69 | for i := 0; i < testBackendAddrsCount; i++ { |
| 70 | testBackendAddrStrs = append(testBackendAddrStrs, fmt.Sprintf("%d.%d.%d.%d:%d", i, i, i, i, i)) |
| 71 | } |
| 72 | balancer.Register(&anotherRR{Builder: balancer.Get(roundrobin.Name)}) |
| 73 | } |
| 74 | |
| 75 | func overrideInitTimeout(t *testing.T, val time.Duration) { |
| 76 | orig := DefaultPriorityInitTimeout |
nothing calls this directly
no test coverage detected