commit | 0573c25c60e8d76cd1ad3a9d6fbff37f667b31b5 | [log] [tgz] |
---|---|---|
author | Eric Anderson <ejona@google.com> | Fri Dec 09 10:28:54 2016 -0800 |
committer | Eric Anderson <ejona@google.com> | Fri Dec 09 18:28:12 2016 -0800 |
tree | ba40257c456cefbc6bfda39456e87affcb68596a | |
parent | fd33a72174c4b41bc173c49c59cb3ec63a2d1c16 [diff] |
interop-testing: Observe --use_tls to disable TLS with OkHttp
diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java b/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java index 1e555f5..38a4aa6 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java
@@ -338,6 +338,8 @@ } catch (Exception e) { throw new RuntimeException(e); } + } else { + builder.usePlaintext(true); } return builder.build(); }