mirror of https://github.com/grpc/grpc-java.git
interop-testing: Observe --use_tls to disable TLS with OkHttp
This commit is contained in:
parent
fd33a72174
commit
0573c25c60
|
|
@ -338,6 +338,8 @@ public class TestServiceClient {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
builder.usePlaintext(true);
|
||||||
}
|
}
|
||||||
return builder.build();
|
return builder.build();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue