accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject git commit: ACCUMULO-2085 Also catch NamespaceNotEmptyException when deleting a namespace.
Date Tue, 24 Dec 2013 04:08:20 GMT
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 744f06bfb -> 31f4fbf79


ACCUMULO-2085 Also catch NamespaceNotEmptyException when deleting a namespace.


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 31f4fbf791935270d1e8094cc539f5eb1932ef92
Parents: 744f06b
Author: Josh Elser <elserj@apache.org>
Authored: Mon Dec 23 22:59:16 2013 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Dec 23 22:59:16 2013 -0500

----------------------------------------------------------------------
 .../accumulo/test/randomwalk/concurrent/DeleteNamespace.java      | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/31f4fbf7/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/DeleteNamespace.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/DeleteNamespace.java
b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/DeleteNamespace.java
index c31e6b5..333af3d 100644
--- a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/DeleteNamespace.java
+++ b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/DeleteNamespace.java
@@ -21,6 +21,7 @@ import java.util.Properties;
 import java.util.Random;
 
 import org.apache.accumulo.core.client.Connector;
+import org.apache.accumulo.core.client.NamespaceNotEmptyException;
 import org.apache.accumulo.core.client.NamespaceNotFoundException;
 import org.apache.accumulo.test.randomwalk.State;
 import org.apache.accumulo.test.randomwalk.Test;
@@ -43,6 +44,8 @@ public class DeleteNamespace extends Test {
       log.debug("Deleted namespace " + namespace);
     } catch (NamespaceNotFoundException e) {
       log.debug("Delete namespace " + namespace + " failed, doesnt exist");
+    } catch (NamespaceNotEmptyException e) {
+      log.debug("Delete namespace " + namespace + " failed, not empty");
     }
   }
 }


Mime
View raw message