hbase-commits mailing list archives

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

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

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

Modified: hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java?rev=1557438&r1=1557437&r2=1557438&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
(original)
+++ hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithAbort.java
Sat Jan 11 19:19:10 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/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java?rev=1557438&r1=1557437&r2=1557438&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
(original)
+++ hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionServerCoprocessorExceptionWithRemove.java
Sat Jan 11 19:19:10 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