[jboss-dev-forums] [IronJacamar Development] - Re: TestSuite - multithreaded tests and stress test

Jesper Pedersen do-not-reply at jboss.com
Mon Nov 29 13:26:51 EST 2010


Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: TestSuite - multithreaded tests and stress test"

To view the discussion, visit: http://community.jboss.org/message/573481#573481

--------------------------------------------------------------
The multithreaded tests comes into play for the connection manager especially.

Using ByteMan can prove valuable in many cases, however I think if we can do simple stuff like inject a CyclicBarrier or something like that the test will become more clear.

Maybe there are various extensions - like  http://groboutils.sourceforge.net/testing-junit/using_mtt.html http://groboutils.sourceforge.net/testing-junit/using_mtt.html - to JUnit we can use.

The key requirement is to have the tests be deterministic, such that they will work on any machine. I don't want to see any Thread.sleep() conditions...
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/573481#573481]

Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101129/e68a9ba4/attachment.html 


More information about the jboss-dev-forums mailing list