|
21 | 21 | import static org.junit.Assert.assertEquals;
|
22 | 22 | import static org.junit.Assert.assertFalse;
|
23 | 23 | import static org.junit.Assert.assertNull;
|
24 |
| -import static org.junit.Assert.assertThrows; |
25 | 24 | import static org.junit.Assert.assertTrue;
|
26 | 25 | import static org.junit.Assert.fail;
|
27 | 26 |
|
|
39 | 38 | import org.apache.hadoop.hbase.filter.ColumnRangeFilter;
|
40 | 39 | import org.apache.hadoop.hbase.filter.Filter;
|
41 | 40 | import org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter;
|
42 |
| -import org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter; |
43 | 41 | import org.apache.hadoop.hbase.filter.RandomRowFilter;
|
44 | 42 | import org.apache.hadoop.hbase.testclassification.LargeTests;
|
45 | 43 | import org.apache.hadoop.hbase.util.Bytes;
|
@@ -774,10 +772,6 @@ public void testPartialResultsWithColumnFilter() throws Exception {
|
774 | 772 | testPartialResultsWithColumnFilter(new ColumnPrefixFilter(Bytes.toBytes("testQualifier5")));
|
775 | 773 | testPartialResultsWithColumnFilter(new ColumnRangeFilter(Bytes.toBytes("testQualifer1"), true,
|
776 | 774 | Bytes.toBytes("testQualifier7"), true));
|
777 |
| - |
778 |
| - // Throw an Exception to the old version client to remind them not to use this filter anymore |
779 |
| - assertThrows("Stop using", DoNotRetryIOException.class, |
780 |
| - () -> testPartialResultsWithColumnFilter(new FirstKeyValueMatchingQualifiersFilter())); |
781 | 775 | }
|
782 | 776 |
|
783 | 777 | public void testPartialResultsWithColumnFilter(Filter filter) throws Exception {
|
|
0 commit comments