You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2021/04/23 11:21:00 UTC

[jira] [Comment Edited] (CASSANDRA-16575) "compression" configuration in unit tests is incorrect

    [ https://issues.apache.org/jira/browse/CASSANDRA-16575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17330339#comment-17330339 ] 

Michael Semb Wever edited comment on CASSANDRA-16575 at 4/23/21, 11:20 AM:
---------------------------------------------------------------------------

[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/706/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/706/pipeline/]


was (Author: michaelsembwever):
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch/700/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/700/pipeline/]

> "compression" configuration in unit tests is incorrect
> ------------------------------------------------------
>
>                 Key: CASSANDRA-16575
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16575
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Jacek Lewandowski
>            Priority: Normal
>             Fix For: 4.0.x
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When running unit tests with "compression" configuration, we use non-default Snappy compressor.
> There is a misleading fragment of {{build.xml}}:
> {code}
>       <property name="compressed_yaml" value="${build.test.dir}/cassandra.compressed.yaml"/>
>       <concat destfile="${compressed_yaml}">
>           <fileset file="${test.conf}/cassandra.yaml"/>
>           <fileset file="${test.conf}/commitlog_compression.yaml"/>
>       </concat>
> {code}
> {{cassandra.compressed.yaml}} has been replaced in CASSANDRA-14482 by two files {{commitlog_compression_LZ4.yaml}} and {{commitlog_compression_Zstd.yaml}} without changing build configuration.
> All in all we could fix that but I doubt it makes any sense since {{cdc}} configuration already uses compressed commit log anyway so it feels redundant to test compression alone for each CI run. 



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

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