core/test: remove ineffective assertions. (#3352)

The assertions are actually wrong and fail every time.  It doesn't
cause test failures because SharedResourceHolder calls them in a
scheduled executor because of its delayed close feature.

It's better to remove them, rather than leaving them there deceiving
us.
This commit is contained in:
Kun Zhang 2017-08-16 15:59:48 -07:00 committed by GitHub
parent 197f0b8668
commit 34857580ff
1 changed files with 0 additions and 2 deletions

View File

@ -79,7 +79,6 @@ public class DnsNameResolverTest {
@Override
public void close(ScheduledExecutorService instance) {
assertSame(fakeClock, instance);
}
};
@ -92,7 +91,6 @@ public class DnsNameResolverTest {
@Override
public void close(ExecutorService instance) {
assertSame(fakeExecutor, instance);
}
};