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

ASF subversion and git services commented on SOLR-13574:
--------------------------------------------------------

Commit 8db2fdfa910e418927b18246594dbaeaeac4dc21 in lucene-solr's branch 
refs/heads/branch_8x from Chris M. Hostetter
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=8db2fdf ]

SOLR-13574: Fix many test and test-framework classes to not fail on 
After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup

(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
        solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java


> harden tests that fail (usually NPE) during After/AfterClas methods if there 
> is an assumption violation in Before/BeforeClass methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-13574
>                 URL: https://issues.apache.org/jira/browse/SOLR-13574
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Major
>         Attachments: SOLR-13574.patch
>
>
> We have a bunch of tests that blindly try to call cleanup methods on objects 
> w/o sanity checking if the object exists and the cleanup is actually 
> neccessary -- which may not be true, particularly there was an Assumption 
> failure during a Before/BeforeClass method



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to