HBASE-7113 TestGzipFilter is flaky with jdk1.7
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1406797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
329796cac5
commit
e4a99e9794
|
@ -115,6 +115,8 @@ public class TestGzipFilter {
|
||||||
is.read(value, 0, VALUE_1.length);
|
is.read(value, 0, VALUE_1.length);
|
||||||
assertTrue(Bytes.equals(value, VALUE_1));
|
assertTrue(Bytes.equals(value, VALUE_1));
|
||||||
is.close();
|
is.close();
|
||||||
|
|
||||||
|
testScannerResultCodes();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -132,8 +134,7 @@ public class TestGzipFilter {
|
||||||
assertTrue(contentEncoding == null || !contentEncoding.contains("gzip"));
|
assertTrue(contentEncoding == null || !contentEncoding.contains("gzip"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
void testScannerResultCodes() throws Exception {
|
||||||
public void testScannerResultCodes() throws Exception {
|
|
||||||
Header[] headers = new Header[3];
|
Header[] headers = new Header[3];
|
||||||
headers[0] = new Header("Content-Type", Constants.MIMETYPE_XML);
|
headers[0] = new Header("Content-Type", Constants.MIMETYPE_XML);
|
||||||
headers[1] = new Header("Accept", Constants.MIMETYPE_JSON);
|
headers[1] = new Header("Accept", Constants.MIMETYPE_JSON);
|
||||||
|
|
Loading…
Reference in New Issue