mirror of https://github.com/grpc/grpc-java.git
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:
parent
02deb9c1a1
commit
64938d3cb4
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue