mirror of https://github.com/grpc/grpc-java.git
andriod-interop-testing: fix InteropTask construction failure with wrong parameters (#6223)
This commit is contained in:
parent
ad159cea96
commit
881594100b
|
|
@ -26,10 +26,8 @@ import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
|
||||||
import com.google.android.gms.common.GooglePlayServicesRepairableException;
|
import com.google.android.gms.common.GooglePlayServicesRepairableException;
|
||||||
import com.google.android.gms.security.ProviderInstaller;
|
import com.google.android.gms.security.ProviderInstaller;
|
||||||
import com.google.common.util.concurrent.SettableFuture;
|
import com.google.common.util.concurrent.SettableFuture;
|
||||||
import io.grpc.ClientInterceptor;
|
|
||||||
import io.grpc.android.integrationtest.InteropTask.Listener;
|
import io.grpc.android.integrationtest.InteropTask.Listener;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
|
|
@ -127,7 +125,6 @@ public class InteropInstrumentationTest {
|
||||||
new InteropTask(
|
new InteropTask(
|
||||||
listener,
|
listener,
|
||||||
TesterOkHttpChannelBuilder.build(host, port, serverHostOverride, useTls, testCa),
|
TesterOkHttpChannelBuilder.build(host, port, serverHostOverride, useTls, testCa),
|
||||||
new ArrayList<ClientInterceptor>(),
|
|
||||||
testCase)
|
testCase)
|
||||||
.execute();
|
.execute();
|
||||||
String result = resultFuture.get(TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
String result = resultFuture.get(TIMEOUT_SECONDS, TimeUnit.SECONDS);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue