You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Marc Spaggiari (JIRA)" <ji...@apache.org> on 2013/10/01 20:34:24 UTC

[jira] [Created] (HBASE-9692) TestOrderedBytes doesn't display the arrays correctly

Jean-Marc Spaggiari created HBASE-9692:
------------------------------------------

             Summary: TestOrderedBytes doesn't display the arrays correctly
                 Key: HBASE-9692
                 URL: https://issues.apache.org/jira/browse/HBASE-9692
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.0, 0.96.0
            Reporter: Jean-Marc Spaggiari
            Assignee: Jean-Marc Spaggiari
            Priority: Minor


TestOrderedBytes should call Arrays.toString(decoded) instead of directly output "decoded".

Today output will be something like:
java.lang.AssertionError: Encoded representations do not preserve natural order: <[B...@4a8c1dd9>, <[B...@34fbb7cb>, ASCENDING: actual array was null

We want it to be:
java.lang.AssertionError: Encoded representations do not preserve natural order: <[]>, <[]>, ASCENDING: actual array was null




--
This message was sent by Atlassian JIRA
(v6.1#6144)