Author: borges
Date: 2011-07-08 07:09:20 -0400 (Fri, 08 Jul 2011)
New Revision: 10960
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/util/SameProcessHornetQServer.java
Log:
improve test failure message
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/util/SameProcessHornetQServer.java
===================================================================
---
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/util/SameProcessHornetQServer.java 2011-07-08
11:08:44 UTC (rev 10959)
+++
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/util/SameProcessHornetQServer.java 2011-07-08
11:09:20 UTC (rev 10960)
@@ -104,7 +104,7 @@
// Wait to be informed of failure
boolean ok = latch.await(10000, TimeUnit.MILLISECONDS);
- Assert.assertTrue("failed to stop the server", ok);
+ Assert.assertTrue("Failed to stop the server! Latch count is " +
latch.getCount(), ok);
}
/* (non-Javadoc)
Show replies by date