You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/04/12 16:45:00 UTC
[jira] [Commented] (HADOOP-17523) Replace LogCapturer with mock
[ https://issues.apache.org/jira/browse/HADOOP-17523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319567#comment-17319567 ]
Viraj Jasani commented on HADOOP-17523:
---------------------------------------
I believe even if we use Mockito's ArgumentCaptor, we still need to use Log4J1 API to mock Appender. Hence, removing LogCapturer without using Log4J1 API might be difficult. [~aajisaka] thoughts?
> Replace LogCapturer with mock
> -----------------------------
>
> Key: HADOOP-17523
> URL: https://issues.apache.org/jira/browse/HADOOP-17523
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Akira Ajisaka
> Priority: Major
>
> LogCapturer uses Log4J1 API, and it should be removed. Mockito can be used instead for capturing logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org