ACCUMULO-3643 fix ignored exception findbugs issue
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f41a2539 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f41a2539 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f41a2539 Branch: refs/heads/master Commit: f41a2539c29e9d4dbef657cd4ab35215d5ba3730 Parents: d3f74f7 Author: Eric Newton <[email protected]> Authored: Thu Apr 23 12:02:22 2015 -0400 Committer: Eric Newton <[email protected]> Committed: Thu Apr 23 12:02:22 2015 -0400 ---------------------------------------------------------------------- .../src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/f41a2539/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java b/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java index 8aed78a..49b4a47 100644 --- a/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java +++ b/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java @@ -1088,7 +1088,9 @@ public abstract class SimpleProxyBase extends SharedMiniClusterIT { try { client.checkIteratorConflicts(creds, TABLE_TEST, setting, EnumSet.allOf(IteratorScope.class)); fail("checkIteratorConflicts did not throw an exception"); - } catch (Exception ex) {} + } catch (Exception ex) { + System.out.println("Ignoring " + ex.toString()); + } client.deleteRows(creds, TABLE_TEST, null, null); client.removeIterator(creds, TABLE_TEST, "test", EnumSet.allOf(IteratorScope.class)); String expected[][] = new String[10][];
