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

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

Commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864 in lucene-solr's branch 
refs/heads/master from Chris M. Hostetter
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7e57d3a ]

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


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to