lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r926795 - /lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java
Date Tue, 23 Mar 2010 21:36:46 GMT
Author: yonik
Date: Tue Mar 23 21:36:46 2010
New Revision: 926795

URL: http://svn.apache.org/viewvc?rev=926795&view=rev
Log:
tests: ignore expected exceptions

Modified:
    lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java

Modified: lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java?rev=926795&r1=926794&r2=926795&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java (original)
+++ lucene/dev/trunk/solr/src/test/org/apache/solr/servlet/CacheHeaderTest.java Tue Mar 23
21:36:46 2010
@@ -52,7 +52,7 @@ public class CacheHeaderTest extends Cac
   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);



Mime
View raw message