Again, stop thinking of changes of this type, like adding sleep() in the production code!
Instead, add a .sar to your ear that instantiates an mbean that introduces a small delay
in its startService() method, to get your delay. Then make the .sar to be the last module
in application.xml (by default it should be deployed first, I guess, so the test should
fail), then compare the dates and expect this to be the last deployment.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961811#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...