1 Reply Latest reply on May 19, 2009 7:53 PM by Clebert Suconic


    Clebert Suconic Master

      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);

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