I was seeing random failures with org.jboss.test.tm.test.TxTimeoutUnitTestCase -
testOverriddenTimeoutExpires()
The timeout is set to 5'' while the bean is actually waiting 8'' inside a
method. Some times the asynchronous timeout/rollback doesn't happen and I had to do a
7'' [+ 2''] seconds sleep to make it reliably pass (at least locally).
I'm wondering how tx timeouts are implemented by JBoss TS. Is there a thread that
wakes up periodically (e.g. every 5'') and evaluates the timeouts or does it wake
up at the exact timeout time?
Does it deal with the timeouts themselves in separate threads?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055617#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...