[jboss-dev-forums] [Design of EJB 3.0] - Re: Some Issues for Community

jaikiran do-not-reply at jboss.com
Sun Oct 26 11:41:51 EDT 2008


Now that both EJBTHREE-1454 and EJBTHREE-1401 have been done for review, i am thinking of moving to the next one:
anonymous wrote : 
  | MockServer must report startup / shutdown
  | https://jira.jboss.org/jira/browse/EJBTHREE-1396
  | 
  | RemoteAccessTestCase starts up a MockServer in a separate process. The current mechanism used is to Thread.sleep for it to startup, and kill the Process to shut it down. Could be more elegant such that the test doesn't rely on a startup within X seconds (under load this can cause incorrect transient failures). Best approach here is probably to open some socket, implement a minimal protocol, and make hooks for "isRunning" and "shutdown" tasks. Nothing too fancy required, this is a little standalone process used in testing only. 

Let me know if you want me to take this one next or if you have something else that can be taken up first :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184680#4184680

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184680



More information about the jboss-dev-forums mailing list