You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "lanqing yang (Jira)" <ji...@apache.org> on 2025/01/04 20:40:00 UTC
[jira] [Commented] (CASSANDRA-20178) SetGetCompactionThroughputTest fails, should be locale agnosting
[ https://issues.apache.org/jira/browse/CASSANDRA-20178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909795#comment-17909795 ]
lanqing yang commented on CASSANDRA-20178:
------------------------------------------
trunk: https://github.com/apache/cassandra/pull/3770
> SetGetCompactionThroughputTest fails, should be locale agnosting
> ----------------------------------------------------------------
>
> Key: CASSANDRA-20178
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20178
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Maxim Muzafarov
> Priority: Normal
> Labels: lhf
> Fix For: 5.x
>
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org