From d9883f2482704f9cfba62e76757f46d153efcd69 Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Fri, 6 Apr 2018 10:30:10 -0700 Subject: [PATCH] default to prod server for tests --- .../java/io/grpc/interop/cpp/InteropTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/InteropTest.java b/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/InteropTest.java index f7398bdd706..d1bc259de19 100644 --- a/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/InteropTest.java +++ b/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/InteropTest.java @@ -37,11 +37,12 @@ public class InteropTest { @Before public void setUp() throws Exception { - host = InstrumentationRegistry.getArguments().getString("server_host", "10.0.2.2"); - port = - Integer.parseInt(InstrumentationRegistry.getArguments().getString("server_port", "8080")); + host = + InstrumentationRegistry.getArguments() + .getString("server_host", "grpc-test.sandbox.googleapis.com"); + port = Integer.parseInt(InstrumentationRegistry.getArguments().getString("server_port", "443")); useTls = - Boolean.parseBoolean(InstrumentationRegistry.getArguments().getString("use_tls", "false")); + Boolean.parseBoolean(InstrumentationRegistry.getArguments().getString("use_tls", "true")); if (useTls) { Context ctx = InstrumentationRegistry.getTargetContext();