HBASE-18980 Suppress SelfComparison error in tests
This commit is contained in:
parent
2828427219
commit
739ca50e9c
|
@ -34,6 +34,7 @@ import org.junit.experimental.categories.Category;
|
|||
@Category({MetricsTests.class, SmallTests.class})
|
||||
public class TestMetricsRegionSourceImpl {
|
||||
|
||||
@SuppressWarnings("SelfComparison")
|
||||
@Test
|
||||
public void testCompareToHashCodeEquals() throws Exception {
|
||||
MetricsRegionServerSourceFactory fact = CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);
|
||||
|
|
|
@ -34,6 +34,7 @@ import org.junit.experimental.categories.Category;
|
|||
@Category({MetricsTests.class, SmallTests.class})
|
||||
public class TestMetricsTableSourceImpl {
|
||||
|
||||
@SuppressWarnings("SelfComparison")
|
||||
@Test
|
||||
public void testCompareToHashCode() throws Exception {
|
||||
MetricsRegionServerSourceFactory metricsFact =
|
||||
|
|
Loading…
Reference in New Issue