accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhava...@apache.org
Subject [01/12] git commit: Revert "ACCUMULO-2312 test was expecting overly wrapped errors"
Date Mon, 03 Feb 2014 22:38:52 GMT
Updated Branches:
  refs/heads/1.4.5-SNAPSHOT 748276b5b -> f11eb1db9
  refs/heads/1.5.1-SNAPSHOT 09ce8144e -> d06a9ef79
  refs/heads/1.6.0-SNAPSHOT 450a653da -> 5117947c4
  refs/heads/master 4879e7cca -> e9fe02266


Revert "ACCUMULO-2312 test was expecting overly wrapped errors"

This reverts commit 722d6be1d05cdafac17a424c5e91bc166d622231.


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

Branch: refs/heads/master
Commit: 44eb7d4f284a6e4b2daf39be966cd4e29cce70f2
Parents: 722d6be
Author: John Vines <vines@apache.org>
Authored: Mon Feb 3 15:25:29 2014 -0500
Committer: John Vines <vines@apache.org>
Committed: Mon Feb 3 15:25:29 2014 -0500

----------------------------------------------------------------------
 .../accumulo/test/randomwalk/concurrent/ChangePermissions.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/44eb7d4f/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java
b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java
index 6b3acb6..63af95a 100644
--- a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java
+++ b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java
@@ -66,9 +66,9 @@ public class ChangePermissions extends Test {
     } catch (AccumuloException ex) {
       Throwable cause = ex.getCause();
       if (cause != null && cause instanceof ThriftTableOperationException) {
-        ThriftTableOperationException toe = (ThriftTableOperationException)cause;
+        ThriftTableOperationException toe = (ThriftTableOperationException)cause.getCause();
         if (toe.type == TableOperationExceptionType.NAMESPACE_NOTFOUND) {
-          log.debug("Unable to change user permissions: " + toe);
+          log.debug("Unable to change user permissions: " + toe.getCause());
           return;
         }
       }


Mime
View raw message