Amend HBASE-10292. TestRegionServerCoprocessorExceptionWithAbort fails occasionally

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1557436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2014-01-11 19:19:02 +00:00
parent 1431c22a07
commit f9a93ec9df
2 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,9 @@ public class TestRegionServerCoprocessorExceptionWithAbort {
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 {

View File

@ -107,6 +107,9 @@ public class TestRegionServerCoprocessorExceptionWithRemove {
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 {