hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject svn commit: r1406797 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
Date Wed, 07 Nov 2012 20:45:52 GMT
Author: jxiang
Date: Wed Nov  7 20:45:52 2012
New Revision: 1406797

URL: http://svn.apache.org/viewvc?rev=1406797&view=rev
Log:
HBASE-7113 TestGzipFilter is flaky with jdk1.7

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java?rev=1406797&r1=1406796&r2=1406797&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGzipFilter.java
Wed Nov  7 20:45:52 2012
@@ -115,6 +115,8 @@ public class TestGzipFilter {
     is.read(value, 0, VALUE_1.length);
     assertTrue(Bytes.equals(value, VALUE_1));
     is.close();
+
+    testScannerResultCodes();
   }
 
   @Test
@@ -132,8 +134,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