[jira] [Commented] (SOLR-10142) replace @Ignore/@AwaitsFix for TestClassNameShortening

2017-02-20 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874777#comment-15874777
 ] 

Dawid Weiss commented on SOLR-10142:


@Ignore is JUnit's annotation and it cannot be "enabled" (it could, 
theoretically, but I don't think it'd be of much value). @BadApple, @Slow and 
the like are test-groups (annotations that are themselves annotated with a 
meta-annotation @TestGroup). 

bq. -Dtests.awaitsfix=true 

You can also use the filtering expression (which is a Boolean expression and 
can be complex):

{code}
-Dtests.filter="@slow and @badapple"
{code}

As always, the test help is under {{ant test-help}}.

> replace @Ignore/@AwaitsFix for TestClassNameShortening
> --
>
> Key: SOLR-10142
> URL: https://issues.apache.org/jira/browse/SOLR-10142
> Project: Solr
>  Issue Type: Test
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Christine Poerschke
>Priority: Minor
> Attachments: SOLR-10142.patch
>
>
> As per the latest SOLR-10032 report any tests marked {{@Ignore}} are not run 
> and included in the report as _mission-failed_. This ticket is to first mark 
> the test as {{@AwaitsFix}} and then to either use this ticket to fix it or to 
> remove the AwaitsFix tag if there is nothing to fix.
> Via locals runs of
> {code}
> ant beast -Dbeast.iters=10 -Dtest.dups=2 -Dtestcase=TestClassNameShortening
> {code}
> i couldn't make the test fail so far.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-10142) replace @Ignore/@AwaitsFix for TestClassNameShortening

2017-02-20 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-10142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15874764#comment-15874764
 ] 

Mark Miller commented on SOLR-10142:


bq. Found an answer e.g. -Dtests.awaitsfix=true can be used.

Sorry, missed that comment. Right, and you can use -Dtests.badapple=true to run 
@BadApple tests. I don't think there is a way to run @Ignore tests.

> replace @Ignore/@AwaitsFix for TestClassNameShortening
> --
>
> Key: SOLR-10142
> URL: https://issues.apache.org/jira/browse/SOLR-10142
> Project: Solr
>  Issue Type: Test
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Christine Poerschke
>Priority: Minor
> Attachments: SOLR-10142.patch
>
>
> As per the latest SOLR-10032 report any tests marked {{@Ignore}} are not run 
> and included in the report as _mission-failed_. This ticket is to first mark 
> the test as {{@AwaitsFix}} and then to either use this ticket to fix it or to 
> remove the AwaitsFix tag if there is nothing to fix.
> Via locals runs of
> {code}
> ant beast -Dbeast.iters=10 -Dtest.dups=2 -Dtestcase=TestClassNameShortening
> {code}
> i couldn't make the test fail so far.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org