[ 
https://issues.apache.org/jira/browse/CASSANDRA-16612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-16612:
--------------------------------------------
          Since Version: 4.0
    Source Control Link: 
https://github.com/apache/cassandra/commit/b7c4271b16801acff77c020ebf2daf82b1592184
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> RingTest has inconsistent assertion
> -----------------------------------
>
>                 Key: CASSANDRA-16612
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16612
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Jacek Lewandowski
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 4.0.x
>
>
> There is an assertion for the node current load like:
> {noformat}
> assertThat(hostRing, matchesPattern(".*\\d+\\.\\d+ KiB.*"));
> {noformat}
> while we are formatting that value with {{#.##}}. Therefore if we say have 46 
> KiB, it will be formatted as 46 KiB rather than 46.00 KiB which is expected 
> by the test. We need to either change this assertion or change the format 
> string to {{#0.00}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to