You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (Jira)" <ji...@apache.org> on 2020/08/27 15:14:00 UTC

[jira] [Updated] (CASSANDRA-14974) Unit test stdout capture is malfunctioning in 4.0

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

Alex Petrov updated CASSANDRA-14974:
------------------------------------
    Component/s:     (was: Test/dtest/python)
                 Test/dtest/java

> Unit test stdout capture is malfunctioning in 4.0
> -------------------------------------------------
>
>                 Key: CASSANDRA-14974
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14974
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java, Test/unit
>            Reporter: Benedict Elliott Smith
>            Assignee: Benedict Elliott Smith
>            Priority: Normal
>             Fix For: 4.0, 4.0-alpha1
>
>
> In 3.x unit tests we make sure to capture stdout to the unit test files, in case tests log to stdout and not to a logger.  However, in 4.0 due to a configuration parameter that is deprecated in logback, the logic is short-circuited silently.
> Once fixed, this affects the cleanup of in-jvm dtests which would register an infinite chain of System.out overrides (one for each node), so we make the functionality robust to multiple instantiations, as well as improve its startup/shutdown sequence guarantees.



--
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