hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1520715 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
Date Fri, 06 Sep 2013 23:44:18 GMT
Author: tedyu
Date: Fri Sep  6 23:44:18 2013
New Revision: 1520715

URL: http://svn.apache.org/r1520715
Log:
HBASE-9455 Port HBASE-7113 'TestGzipFilter is flaky with jdk1.7' to 0.94


Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java?rev=1520715&r1=1520714&r2=1520715&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java Fri
Sep  6 23:44:18 2013
@@ -116,6 +116,8 @@ public class TestGzipFilter {
     is.read(value, 0, VALUE_1.length);
     assertTrue(Bytes.equals(value, VALUE_1));
     is.close();
+
+    testScannerResultCodes();
   }
 
   @Test
@@ -133,8 +135,7 @@ public class TestGzipFilter {
     assertTrue(contentEncoding == null || !contentEncoding.contains("gzip"));
   }
 
-  @Test
-  public void testScannerResultCodes() throws Exception {
+  void testScannerResultCodes() throws Exception {
     Header[] headers = new Header[3];
     headers[0] = new Header("Content-Type", Constants.MIMETYPE_XML);
     headers[1] = new Header("Accept", Constants.MIMETYPE_JSON);



Mime
View raw message