[
https://issues.apache.org/jira/browse/BIGTOP-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913329#comment-13913329
]
Konstantin Boudnik commented on BIGTOP-1225:
--------------------------------------------
The reason I am bringing this up is that while setting up an order of execution
would likely to solve the problem - as you have discovered in the experiments -
fixing the tests to be independent might be a better idea going forward. In
this particular case, the offending tests should cleanup after themselves or
there should be an {{@After}} method that restores the state of the filesystem.
Another way to fix it is to make sure that tests aren't using conflicting
resources, e.g. two tests shouldn't reuse {{/directory1}}: instead they should
create what they need and remove it once they are done.
Do you think it would be possible to fix the tests without relying on the
order? Thanks!
> TestHDFSQuota can fail if tests are run out of order
> ----------------------------------------------------
>
> Key: BIGTOP-1225
> URL: https://issues.apache.org/jira/browse/BIGTOP-1225
> Project: Bigtop
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Virginia Wang
> Fix For: 0.8.0
>
>
> When running TestHDFSQuota some tests can fail when it is run out of order.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)