2 Replies Latest reply on Jan 2, 2009 8:29 AM by timfox

    timeToSleep in management tests

    timfox

      I've removed these kind of sleeps

       // wiat a little bit to give time for the message to be handled by the server
       Thread.sleep(timeToSleep);
      


      Since it's non deterministic and sometimes the tests would fail.

      A much simpler way to ensure the message gets to the server is just to set blocking sends to true on the connection factory.