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:
Yonik Seeley 2013-07-10 20:28:01 +00:00
parent 9a77cfbba0
commit 020d816f42
1 changed files with 2 additions and 0 deletions

View File

@ -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();