[jira] Created: (LUCENE-2709) If test has methods with @Ignore, we should print out a notice

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (LUCENE-2709) If test has methods with @Ignore, we should print out a notice

Sebastian Nagel (Jira)
If test has methods with @Ignore, we should print out a notice
--------------------------------------------------------------

                 Key: LUCENE-2709
                 URL: https://issues.apache.org/jira/browse/LUCENE-2709
             Project: Lucene - Java
          Issue Type: Test
    Affects Versions: 3.1, 4.0
            Reporter: Robert Muir
             Fix For: 3.1, 4.0


Currently these silently pass, but there is usually a reason they are @Ignore
(sometimes good, sometimes really a TODO we should fix)

In my opinion we should add reasons for all these current @Ignores like Mike did with Test2BTerms.

Example output:
{noformat}
[junit] Testsuite: org.apache.lucene.index.Test2BTerms
[junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a fast machine!!  And requires that you don't use PreFlex codec.
[junit] ------------- ---------------- ---------------

...

[junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
[junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: Ignoring test method 'testConnection'
[junit] NOTE: Ignoring test method 'testRecursion'
[junit] NOTE: Ignoring test method 'testExclude'
[junit] NOTE: Ignoring test method 'testInclude'
[junit] NOTE: Ignoring test method 'testIncludeAndExclude'
[junit] NOTE: Ignoring test method 'testFetchTimeSince'
[junit] ------------- ---------------- ---------------
{noformat}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-2709) If test has methods with @Ignore, we should print out a notice

Sebastian Nagel (Jira)

     [ https://issues.apache.org/jira/browse/LUCENE-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2709:
--------------------------------

    Attachment: LUCENE-2709.patch

> If test has methods with @Ignore, we should print out a notice
> --------------------------------------------------------------
>
>                 Key: LUCENE-2709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2709
>             Project: Lucene - Java
>          Issue Type: Test
>    Affects Versions: 3.1, 4.0
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2709.patch
>
>
> Currently these silently pass, but there is usually a reason they are @Ignore
> (sometimes good, sometimes really a TODO we should fix)
> In my opinion we should add reasons for all these current @Ignores like Mike did with Test2BTerms.
> Example output:
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.Test2BTerms
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a fast machine!!  And requires that you don't use PreFlex codec.
> [junit] ------------- ---------------- ---------------
> ...
> [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'testConnection'
> [junit] NOTE: Ignoring test method 'testRecursion'
> [junit] NOTE: Ignoring test method 'testExclude'
> [junit] NOTE: Ignoring test method 'testInclude'
> [junit] NOTE: Ignoring test method 'testIncludeAndExclude'
> [junit] NOTE: Ignoring test method 'testFetchTimeSince'
> [junit] ------------- ---------------- ---------------
> {noformat}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (LUCENE-2709) If test has methods with @Ignore, we should print out a notice

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ https://issues.apache.org/jira/browse/LUCENE-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir reassigned LUCENE-2709:
-----------------------------------

    Assignee: Robert Muir

> If test has methods with @Ignore, we should print out a notice
> --------------------------------------------------------------
>
>                 Key: LUCENE-2709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2709
>             Project: Lucene - Java
>          Issue Type: Test
>    Affects Versions: 3.1, 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2709.patch
>
>
> Currently these silently pass, but there is usually a reason they are @Ignore
> (sometimes good, sometimes really a TODO we should fix)
> In my opinion we should add reasons for all these current @Ignores like Mike did with Test2BTerms.
> Example output:
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.Test2BTerms
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a fast machine!!  And requires that you don't use PreFlex codec.
> [junit] ------------- ---------------- ---------------
> ...
> [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'testConnection'
> [junit] NOTE: Ignoring test method 'testRecursion'
> [junit] NOTE: Ignoring test method 'testExclude'
> [junit] NOTE: Ignoring test method 'testInclude'
> [junit] NOTE: Ignoring test method 'testIncludeAndExclude'
> [junit] NOTE: Ignoring test method 'testFetchTimeSince'
> [junit] ------------- ---------------- ---------------
> {noformat}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (LUCENE-2709) If test has methods with @Ignore, we should print out a notice

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ https://issues.apache.org/jira/browse/LUCENE-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-2709.
---------------------------------

    Resolution: Fixed

Committed revision 1023022, 1023025

> If test has methods with @Ignore, we should print out a notice
> --------------------------------------------------------------
>
>                 Key: LUCENE-2709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2709
>             Project: Lucene - Java
>          Issue Type: Test
>    Affects Versions: 3.1, 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2709.patch
>
>
> Currently these silently pass, but there is usually a reason they are @Ignore
> (sometimes good, sometimes really a TODO we should fix)
> In my opinion we should add reasons for all these current @Ignores like Mike did with Test2BTerms.
> Example output:
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.Test2BTerms
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a fast machine!!  And requires that you don't use PreFlex codec.
> [junit] ------------- ---------------- ---------------
> ...
> [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
> [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] NOTE: Ignoring test method 'testConnection'
> [junit] NOTE: Ignoring test method 'testRecursion'
> [junit] NOTE: Ignoring test method 'testExclude'
> [junit] NOTE: Ignoring test method 'testInclude'
> [junit] NOTE: Ignoring test method 'testIncludeAndExclude'
> [junit] NOTE: Ignoring test method 'testFetchTimeSince'
> [junit] ------------- ---------------- ---------------
> {noformat}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]