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
This commit is contained in:
Kun Zhang 2017-04-10 14:23:26 -07:00 committed by GitHub
parent 02deb9c1a1
commit 64938d3cb4
1 changed files with 0 additions and 4 deletions

View File

@ -253,10 +253,6 @@ public abstract class AbstractInteropTest {
if (channel != null) { if (channel != null) {
channel.shutdown(); channel.shutdown();
} }
if (!metricsExpected()) {
assertEquals(0, clientStreamTracers.size());
assertEquals(0, serverStreamTracers.size());
}
} }
protected abstract ManagedChannel createChannel(); protected abstract ManagedChannel createChannel();