tests: ignore expected exceptions

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-03-23 21:36:46 +00:00
parent 273c083db0
commit 6d36da2c2d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class CacheHeaderTest extends CacheHeaderTestBase {
public void testCacheVetoException() throws Exception {
HttpMethodBase m = getSelectMethod("GET");
// We force an exception from Solr. This should emit "no-cache" HTTP headers
m.setQueryString(new NameValuePair[] { new NameValuePair("q", "xyz:solr"),
m.setQueryString(new NameValuePair[] { new NameValuePair("q", "xyz_ignore_exception:solr"),
new NameValuePair("qt", "standard") });
getClient().executeMethod(m);
assertFalse(m.getStatusCode() == 200);