hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1557436 - in /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor: TestRegionServerCoprocessorExceptionWithAbort.java TestRegionServerCoprocessorExceptionWithRemove.java
Date Sat, 11 Jan 2014 19:19:03 GMT
Author: apurtell
Date: Sat Jan 11 19:19:02 2014
New Revision: 1557436

URL: http://svn.apache.org/r1557436
Log:
Amend HBASE-10292. TestRegionServerCoprocessorExceptionWithAbort fails occasionally

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java?rev=1557436&r1=1557435&r2=1557436&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
Sat Jan 11 19:19:02 2014
@@ -89,6 +89,9 @@ public class TestRegionServerCoprocessor
       put.add(TEST_FAMILY, ROW, ROW);
       table.put(put);
       table.flushCommits();
+      // We may need two puts to reliably get an exception
+      table.put(put);
+      table.flushCommits();
     } catch (IOException e) {
       threwIOE = true;
     } finally {

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java?rev=1557436&r1=1557435&r2=1557436&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
Sat Jan 11 19:19:02 2014
@@ -107,6 +107,9 @@ public class TestRegionServerCoprocessor
       put.add(TEST_FAMILY, ROW, ROW);
       table.put(put);
       table.flushCommits();
+      // We may need two puts to reliably get an exception
+      table.put(put);
+      table.flushCommits();
     } catch (IOException e) {
       threwIOE = true;
     } finally {



Mime
View raw message