hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1102819 - in /hbase/trunk: CHANGES.txt src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java
Date Fri, 13 May 2011 17:17:07 GMT
Author: stack
Date: Fri May 13 17:17:07 2011
New Revision: 1102819

URL: http://svn.apache.org/viewvc?rev=1102819&view=rev
Log:
HBASE-3876 TestCoprocessorInterface.testCoprocessorInterface broke on jenkins and local

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1102819&r1=1102818&r2=1102819&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Fri May 13 17:17:07 2011
@@ -103,6 +103,8 @@ Release 0.91.0 - Unreleased
    HBASE-3865  Failing TestWALReplay
    HBASE-3864  Rename of hfile.min.blocksize.size in HBASE-2899 reverted in
                HBASE-1861 (Aaron T. Myers)
+   HBASE-3876  TestCoprocessorInterface.testCoprocessorInterface broke on
+               jenkins and local
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java?rev=1102819&r1=1102818&r2=1102819&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorInterface.java
Fri May 13 17:17:07 2011
@@ -143,9 +143,10 @@ public class TestCoprocessorInterface ex
     Configuration hc = initSplit();
     HRegion region = initHRegion(tableName, getName(), hc,
       CoprocessorImpl.class, families);
-
-    addContent(region, fam3);
-    region.flushcache();
+    for (int i = 0; i < 3; i++) {
+      addContent(region, fam3);
+      region.flushcache();
+    }
     byte [] splitRow = region.compactStores();
     assertNotNull(splitRow);
     HRegion [] regions = split(region, splitRow);
@@ -154,9 +155,8 @@ public class TestCoprocessorInterface ex
     }
     region.close();
     region.getLog().closeAndDelete();
-
-    Coprocessor c = region.getCoprocessorHost()
-      .findCoprocessor(CoprocessorImpl.class.getName());
+    Coprocessor c = region.getCoprocessorHost().
+      findCoprocessor(CoprocessorImpl.class.getName());
     assertTrue("Coprocessor not started", ((CoprocessorImpl)c).wasStarted());
     assertTrue("Coprocessor not stopped", ((CoprocessorImpl)c).wasStopped());
     assertTrue(((CoprocessorImpl)c).wasOpened());



Mime
View raw message