You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Owen O'Malley (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 00:46:40 UTC

[jira] [Created] (AMBARI-146) Fix problems with test failures

Fix problems with test failures
-------------------------------

                 Key: AMBARI-146
                 URL: https://issues.apache.org/jira/browse/AMBARI-146
             Project: Ambari
          Issue Type: Bug
          Components: agent
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley
             Fix For: 0.1.0


The test cases for the agent are currently failing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMBARI-146) Fix problems with test failures

Posted by "Owen O'Malley (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMBARI-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved AMBARI-146.
----------------------------------

    Resolution: Fixed

I fixed this by:
  1. Deleting any old directory in create_structure.
  2. Removing the integer conversion that was broken in writeFile. "int(file_info['permission'], 8)"
  3. Removing absolute pathnames as a special case.
  4. Using path.join instead of chdir.
                
> Fix problems with test failures
> -------------------------------
>
>                 Key: AMBARI-146
>                 URL: https://issues.apache.org/jira/browse/AMBARI-146
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The test cases for the agent are currently failing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira