1 Reply Latest reply on May 19, 2009 7:53 PM by clebert.suconic

    JMSServerControl2Test.testCloseConnectionsForUnknownAddressF

    clebert.suconic

      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?