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

Konstantin Boudnik commented on BIGTOP-1224:
--------------------------------------------

You are not limited but -1/0/1 - you can use any integer values essentially. 
Wrt encouragement: there's a class of tests that must have it. Any test that 
requires a certain sequence of states - e.g. package validation and such - 
would benefit from it. We already have a more complex ordering support combined 
with parametrization. So if someone wants to use it - they will. The way to 
prevent it is peer review process, not technology limitation, I think.

> Provide a simple order for tests
> --------------------------------
>
>                 Key: BIGTOP-1224
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1224
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 0.7.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.8.0
>
>         Attachments: BIGTOP-1224.patch
>
>
> There are situations where test order is important and its lack causes test 
> failure. E.g. I see a number of failures in quota testing in hadoop smokes 
> caused by wrong order of the test cases.
> iTest currently has a mechanism to order parametrized tests. However, 
> parametrization seems like an overkill in some cases. For those a simple 
> ordering will be sufficient.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to