accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/2] git commit: ACCUMULO-1953: fix intermittent failure due to race in MultiTableBatchWriterTest.testOfflineTable
Date Wed, 04 Dec 2013 19:07:32 GMT
Updated Branches:
  refs/heads/master 5b84dc2a1 -> 0cecf0327


ACCUMULO-1953: fix intermittent failure due to race in MultiTableBatchWriterTest.testOfflineTable

Signed-off-by: Josh Elser <elserj@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b07d1297
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b07d1297
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b07d1297

Branch: refs/heads/master
Commit: b07d12976274876dfeb250ad0c2fe1e5a98e74cd
Parents: 5312aea
Author: Michael Berman <mberman@sqrrl.com>
Authored: Wed Dec 4 13:50:19 2013 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Wed Dec 4 13:56:08 2013 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/test/MultiTableBatchWriterTest.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/b07d1297/test/src/test/java/org/apache/accumulo/test/MultiTableBatchWriterTest.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/MultiTableBatchWriterTest.java b/test/src/test/java/org/apache/accumulo/test/MultiTableBatchWriterTest.java
index 5c2698e..b92eede 100644
--- a/test/src/test/java/org/apache/accumulo/test/MultiTableBatchWriterTest.java
+++ b/test/src/test/java/org/apache/accumulo/test/MultiTableBatchWriterTest.java
@@ -415,8 +415,8 @@ public class MultiTableBatchWriterTest {
       bw1.addMutation(m1);
       bw2.addMutation(m1);
 
-      tops.offline(table1);
-      tops.offline(table2);
+      tops.offline(table1, true);
+      tops.offline(table2, true);
 
       Mutation m2 = new Mutation("bar");
       m2.put("col1", "", "val1");
@@ -432,7 +432,6 @@ public class MultiTableBatchWriterTest {
     } finally {
       if (null != mtbw) {
         try {
-          // Mutations might have flushed before the table offline occurred
           mtbw.close();
         } catch (MutationsRejectedException e) {
           // Pass


Mime
View raw message