mirror of https://github.com/apache/lucene.git
tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a77cfbba0
commit
020d816f42
|
@ -185,6 +185,7 @@ public class CoreAdminHandlerTest extends SolrTestCaseJ4 {
|
|||
);
|
||||
|
||||
// attempt to create a bogus core and confirm failure
|
||||
ignoreException("Could not load config");
|
||||
try {
|
||||
resp = new SolrQueryResponse();
|
||||
admin.handleRequestBody
|
||||
|
@ -198,6 +199,7 @@ public class CoreAdminHandlerTest extends SolrTestCaseJ4 {
|
|||
// :NOOP:
|
||||
// :TODO: CoreAdminHandler's exception messages are terrible, otherwise we could assert something useful here
|
||||
}
|
||||
unIgnoreException("Could not load config");
|
||||
|
||||
// check specifically for status of the failed core name
|
||||
resp = new SolrQueryResponse();
|
||||
|
|
Loading…
Reference in New Issue