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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2009/12/24 14:18:29 UTC

[jira] Resolved: (HADOOP-4170) delay in TestCLI teardown

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

Steve Loughran resolved HADOOP-4170.
------------------------------------

    Resolution: Cannot Reproduce

The errant code is no longer in TestCLI or CLITestHelper, closing as Cannot Reproduce

> delay in TestCLI teardown
> -------------------------
>
>                 Key: HADOOP-4170
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4170
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.19.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> Before I have a go at cleaning it up, can I check to see if there is a reason for this code in TestCLI.teardown()
>     success = true;
>     Thread.sleep(2000);
>     assertTrue("Error tearing down Mini DFS cluster", success);
> It sets a flag that is always true, and sleeps for 2 seconds. If shutdown is really needed, it should be checked for, and if not, the sleep and the assert culled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.