Maxim Muzafarov created CASSANDRA-20178:
-------------------------------------------

             Summary: SetGetCompactionThroughputTest fails, should be locale 
agnosting
                 Key: CASSANDRA-20178
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20178
             Project: Apache Cassandra
          Issue Type: Bug
            Reporter: Maxim Muzafarov


The problem is related to CASSANDRA-13890 where it was introduced. The test 
{{org.apache.cassandra.tools.nodetool.SetGetCompactionThroughputTest#testCurrentCompactionThroughput}}
 fails because the output representation we are verifying depends on the 
locale. For instance, the en_US locale uses a period ( . ), whereas the de_DE 
locale uses a comma ( , ).

Which means the test is not locale-agnostic. The regex pattern must be fixed.

{code}
FAILS:
Current compaction throughput (1 minute): 0,000 MiB/s
Current compaction throughput (5 minute): 0,000 MiB/s
Current compaction throughput (15 minute): 0,000 MiB/s

SUCCEED:
Current compaction throughput (1 minute): 0.000 MiB/s
Current compaction throughput (5 minute): 0.000 MiB/s
Current compaction throughput (15 minute): 0.000 MiB/s
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to