From 64938d3cb4404912e33bb9c76652f210d044f631 Mon Sep 17 00:00:00 2001 From: Kun Zhang Date: Mon, 10 Apr 2017 14:23:26 -0700 Subject: [PATCH] testing: remove negative asserts about stats. (#2894) They were added in #2863. In TestServiceClient metricsExpected() returns false because server-side stats is not available, but client-side stats are there, thus these asserts would fail. Resolves grpc/grpc/issues/10552 --- .../java/io/grpc/testing/integration/AbstractInteropTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java index c605afd638..2cb880ac77 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java @@ -253,10 +253,6 @@ public abstract class AbstractInteropTest { if (channel != null) { channel.shutdown(); } - if (!metricsExpected()) { - assertEquals(0, clientStreamTracers.size()); - assertEquals(0, serverStreamTracers.size()); - } } protected abstract ManagedChannel createChannel();