falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1195) ClusterEntityParserTest fails intermittently
Date Wed, 06 May 2015 18:09:00 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531071#comment-14531071
] 

Sowmya Ramesh commented on FALCON-1195:
---------------------------------------

I would recommend not to use "dependsOnMethods". Lets say if new test is added and if this
dependency is not considered then race condition can be reintroduced. Tests written should
be self-sufficient and should not depend on other tests - this would make it more maintainable.

> ClusterEntityParserTest fails intermittently 
> ---------------------------------------------
>
>                 Key: FALCON-1195
>                 URL: https://issues.apache.org/jira/browse/FALCON-1195
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.7, 0.6.1
>
>         Attachments: FALCON-1195.patch
>
>
> testClusterWithOnlyStaging fails intermittently due to race condition
> {code}
> org.apache.falcon.entity.parser.ValidationException: Falcon needs subdir working inside
staging dir:/projects/falcon/staging when staging location not specified with rwxr-xr-x got
rwxrwxrwx
> 	at org.apache.falcon.entity.parser.ClusterEntityParser.validateLocations(ClusterEntityParser.java:272)
> 	at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:86)
> 	at org.apache.falcon.entity.parser.ClusterEntityParserTest.testClusterWithOnlyStaging(ClusterEntityParserTest.java:290)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message