On Thu, Jul 22, 2004 at 08:47:54PM +0200, Stefan Groschupf wrote:
> 
> John,
> >I suggest Stefan to add in one more junit test in
> >./src/test/net/nutch/plugin/SimpleTestPlugin.java, that will
> >call a plugin extension in two or more threads, while keeping
> >some simple sockets open cross calls.
> 
> I tried that and I can not reproduce your problem.
> It is not possible to use pure junit to do thread tests but there is a 
> extension that helps for thread testing.
> :-) In case you have an idea how to write a multi thread test with pure 
> junit let me know.

http://groboutils.sourceforge.net

> >The nutch-snmp-patch.zip has code showing use of Plugin.java,
> >but it's for single thread only. That patch aslo has quite a few lines
> >for the plugin core. Don't know if they are crucial. One other thing
> >not clear to me is when/how to use method shutDown() properly.
> >
> Shut down will be invoked by the plugin system until nutch shutdown.

Will it be adequate to intentionally shutDown() without having to wait
for the end of application?

John


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to