mirror of
https://github.com/apache/lucene.git
synced 2025-02-15 14:35:50 +00:00
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:
parent
273c083db0
commit
6d36da2c2d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user