hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1546435 - /hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java
Date Thu, 28 Nov 2013 18:13:39 GMT
Author: liyin
Date: Thu Nov 28 18:13:38 2013
New Revision: 1546435

URL: http://svn.apache.org/r1546435
Log:
[master] Fix TestTimestampsFilter

Author: aaiyer

Summary: Fix TestTimestampsFilter

Test Plan: run TestTimestampsFilter

Reviewers: fan, rshroff

Reviewed By: rshroff

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D1077149

Blame Revision: https://phabricator.fb.com/D1077065

Modified:
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java?rev=1546435&r1=1546434&r2=1546435&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java
(original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/client/TestTimestampsFilter.java
Thu Nov 28 18:13:38 2013
@@ -31,6 +31,7 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.KeyValue;
+import org.apache.hadoop.hbase.regionserver.HRegionServer;
 import org.apache.hadoop.hbase.filter.Filter;
 import org.apache.hadoop.hbase.filter.TimestampsFilter;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -416,6 +417,9 @@ public class TestTimestampsFilter {
     byte[] FAMILY = Bytes.toBytes("fam");
     HTable ht = TEST_UTIL.createTable(TABLE, FAMILY, Integer.MAX_VALUE);
     byte[] ROW = Bytes.toBytes("row");
+    // This test assumes that the regionserver will not use
+    // SEEK_NEXT_USING_HINT
+    HRegionServer.useSeekNextUsingHint = false;
 
     // Do 3 puts
     for (int i = 0; i < 3; i++) {



Mime
View raw message