[
https://issues.apache.org/jira/browse/AMBARI-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559089#comment-13559089
]
Mahadev konar commented on AMBARI-1238:
---------------------------------------
Sid,
I am assuming the dir in:
{quote}
public boolean accept(File dir, String s) {
+ if (dir.getName().contains(".svn") ||
dir.getName().contains(".git")
+ || s.equals(".svn") || s.equals(".git"))
+ return false;
+ return true;
+ }
{quote}
Only includes the the name part of the dir? I am assuming something like
.svn/metainfo/bigtop
wont get ignored?
> AmbariMetaInfoTest getServices() acceptance test failure.
> ---------------------------------------------------------
>
> Key: AMBARI-1238
> URL: https://issues.apache.org/jira/browse/AMBARI-1238
> Project: Ambari
> Issue Type: Bug
> Components: test
> Affects Versions: 1.2.1
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.2.1
>
> Attachments: AMBARI-1238.patch
>
>
> Current external repo unit tests fail with the following ...
> {code}
> Results :
> Failed tests:
> testStacks(org.apache.ambari.server.api.services.AmbariMetaServiceTest):
> expected:<[HDP]> but was:<[.svn]>
> Tests in error:
> getServices(org.apache.ambari.server.api.services.AmbariMetaInfoTest)
> Tests run: 533, Failures: 1, Errors: 1, Skipped: 1
> {code}
> ... we are not skipping .svn directories.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira