You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Vinod K V (JIRA)" <ji...@apache.org> on 2009/01/16 12:18:00 UTC

[jira] Resolved: (HADOOP-5001) Junit tests that time out don't write any test progress related logs

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