(cc *ClientConn)
| 889 | } |
| 890 | |
| 891 | func verifyWaitForReadyEqualsTrue(cc *ClientConn) bool { |
| 892 | var i int |
| 893 | for i = 0; i < 10; i++ { |
| 894 | mc := cc.GetMethodConfig("/foo/bar") |
| 895 | if mc.WaitForReady != nil && *mc.WaitForReady == true { |
| 896 | break |
| 897 | } |
| 898 | time.Sleep(100 * time.Millisecond) |
| 899 | } |
| 900 | return i != 10 |
| 901 | } |
| 902 | |
| 903 | func testInvalidDefaultServiceConfig(t *testing.T, r *manual.Resolver, addr, sc string) { |
| 904 | _, err := NewClient(addr, WithTransportCredentials(insecure.NewCredentials()), WithResolvers(r), WithDefaultServiceConfig(sc)) |
no test coverage detected