[
https://issues.apache.org/jira/browse/HADOOP-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod K V resolved HADOOP-5001.
-------------------------------
Resolution: Won't Fix
Now that Nigel has clarified saying Hudson builds *do* capture the output even
in case of test time outs, and that it is more of an Ant and Junit problem,
closing this issues as won't fix.
> Junit tests that time out don't write any test progress related logs
> --------------------------------------------------------------------
>
> Key: HADOOP-5001
> URL: https://issues.apache.org/jira/browse/HADOOP-5001
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Reporter: Vinod K V
> Assignee: Vinod K V
>
> Some junit tests time out frequently possibly because of a bug. When such
> tests time out, the log4j appender isn't writing anything to the log files.
> It seems that all the log statements are buffered in the memory till test
> completion. The logs get written to the log file only after the test goes to
> completion.
> This is seriously limiting debugging in presence of a test time out. *If*
> possible, we should try to flush logs regularly so that we can find out the
> extent to which a test has progressed before timing out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.