Author: siren
Date: Sun Jul 23 13:24:02 2006
New Revision: 424799

URL: http://svn.apache.org/viewvc?rev=424799&view=rev
Log:
set agent name for test because it is no longer set by default

Modified:
    
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java

Modified: 
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java
URL: 
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java?rev=424799&r1=424798&r2=424799&view=diff
==============================================================================
--- 
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java 
(original)
+++ 
lucene/nutch/trunk/src/test/org/apache/nutch/protocol/TestProtocolFactory.java 
Sun Jul 23 13:24:02 2006
@@ -24,6 +24,7 @@
 
   public void testGetProtocol(){
     Configuration conf=NutchConfiguration.create();
+    conf.set("http.agent.name", "test-bot");
     
     ProtocolFactory factory=new ProtocolFactory(conf);
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to