interop-testing: Remove comparison of proto field to null

Proto fields aren't null. The getter will return an empty string instead
of null.

cl/326415191
This commit is contained in:
Eric Anderson 2020-08-13 07:39:59 -07:00 committed by Eric Anderson
parent 6eced95a54
commit 0773c1aa05
1 changed files with 0 additions and 3 deletions

View File

@ -16,8 +16,6 @@
package io.grpc.testing.integration;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.protobuf.ByteString;
import io.grpc.ManagedChannel;
import io.grpc.StatusRuntimeException;
@ -175,7 +173,6 @@ public final class GrpclbLongLivedAffinityTestClient {
blockingStub.withDeadlineAfter(1, TimeUnit.MINUTES).unaryCall(request);
logger.info("Received response");
String serverId = response.getServerId();
checkNotNull(serverId, "serverId is null");
if (lastServerId != null && !lastServerId.equals(serverId)) {
String msg = "Expected serverId " + lastServerId + ", but got " + serverId;
logger.warning(msg + ". affinityBreakageBudget=" + affinityBreakageBudget);