You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/04/27 17:54:00 UTC

[jira] [Updated] (RATIS-1742) Remove slf4j-log4j12 test dependency from ratis-common and ratis-server

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

Attila Doroszlai updated RATIS-1742:
------------------------------------
    Fix Version/s: 2.5.0

> Remove slf4j-log4j12 test dependency from ratis-common and ratis-server
> -----------------------------------------------------------------------
>
>                 Key: RATIS-1742
>                 URL: https://issues.apache.org/jira/browse/RATIS-1742
>             Project: Ratis
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 3.0.0, 2.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> For ratis-server, slf4j-log4j12 is unused so that it can be removed directly.
> For ratis-common, slf4j-log4j12 is only used in Slf4jUtils after RATIS-1728. We may use reflection to implement the setLevel method.
> We also fix the following test problems:
>  - There is a "multiple SLF4J bindings" warning so ratis-test should exclude the slf4j-simple from ratis-shell.
>  - The following deprecation warnings.
> {code:java}
> [WARNING] /Users/szetszwo/ratis/apache-ratis/ratis-test/src/test/java/org/apache/ratis/server/raftlog/segmented/TestSegmentedRaftLog.java:[715,27] [deprecation] append(LogEntryProto...) in RaftLogSequentialOps has been deprecated
> [WARNING] /Users/szetszwo/ratis/apache-ratis/ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStreamDisabled.java:[35,62] [deprecation] none() in ExpectedException has been deprecated
> {code}



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