[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JMSServerControl2Test.testCloseConnectionsForUnknownAddressF

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue May 19 19:52:55 EDT 2009


Isn't this test broken?

It eventually fails on Hudson. Run it on a loop and you will see a failure.

         boolean gotException = exceptionLatch.await(2 * CONNECTION_TTL, TimeUnit.MILLISECONDS);
  |          assertFalse(gotException);
  | 


exceptionLatch.await should return false... that means the test will wait at least 2 seconds. Is this right?


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

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



More information about the jboss-dev-forums mailing list