ACCUMULO-4095 Better assertion message for ShellServerIT#listscans
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/0b1eabc5 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/0b1eabc5 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/0b1eabc5 Branch: refs/heads/master Commit: 0b1eabc5be93b75e0e6298747b192194e27b72ae Parents: d45bdb3 Author: Josh Elser <els...@apache.org> Authored: Thu Dec 31 01:17:10 2015 -0500 Committer: Josh Elser <els...@apache.org> Committed: Thu Dec 31 01:17:10 2015 -0500 ---------------------------------------------------------------------- test/src/main/java/org/apache/accumulo/test/ShellServerIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/0b1eabc5/test/src/main/java/org/apache/accumulo/test/ShellServerIT.java ---------------------------------------------------------------------- diff --git a/test/src/main/java/org/apache/accumulo/test/ShellServerIT.java b/test/src/main/java/org/apache/accumulo/test/ShellServerIT.java index 39aa340..f2dcd4b 100644 --- a/test/src/main/java/org/apache/accumulo/test/ShellServerIT.java +++ b/test/src/main/java/org/apache/accumulo/test/ShellServerIT.java @@ -1546,7 +1546,7 @@ public class ShellServerIT extends SharedMiniClusterBase { assertTrue(tserver.matches(hostPortPattern)); assertTrue(getConnector().instanceOperations().getTabletServers().contains(tserver)); String client = parts[1].trim(); - assertTrue(client.matches(hostPortPattern)); + assertTrue(client + " does not match " + hostPortPattern, client.matches(hostPortPattern)); // Scan ID should be a long (throwing an exception if it fails to parse) Long.parseLong(parts[11].trim()); }