ACCUMULO-2312 test was expecting overly wrapped errors
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/722d6be1 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/722d6be1 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/722d6be1 Branch: refs/heads/master Commit: 722d6be1d05cdafac17a424c5e91bc166d622231 Parents: 3a52b2a Author: John Vines <vi...@apache.org> Authored: Mon Feb 3 14:38:57 2014 -0500 Committer: John Vines <vi...@apache.org> Committed: Mon Feb 3 14:38:57 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/722d6be1/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 63af95a..6b3acb6 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.getCause(); + ThriftTableOperationException toe = (ThriftTableOperationException)cause; if (toe.type == TableOperationExceptionType.NAMESPACE_NOTFOUND) { - log.debug("Unable to change user permissions: " + toe.getCause()); + log.debug("Unable to change user permissions: " + toe); return; } }