Author: clebert.suconic(a)jboss.com
Date: 2011-11-02 13:18:31 -0400 (Wed, 02 Nov 2011)
New Revision: 11641
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/unit/core/persistence/impl/BatchIDGeneratorUnitTest.java
Log:
fixing test on windows (leaking open file)
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/unit/core/persistence/impl/BatchIDGeneratorUnitTest.java
===================================================================
---
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/unit/core/persistence/impl/BatchIDGeneratorUnitTest.java 2011-11-02
16:57:20 UTC (rev 11640)
+++
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/unit/core/persistence/impl/BatchIDGeneratorUnitTest.java 2011-11-02
17:18:31 UTC (rev 11641)
@@ -127,6 +127,8 @@
Assert.assertEquals("No Ids were generated, so the currentID was supposed to
stay the same",
lastId,
batch.getCurrentID());
+
+ journal.stop();
}
Show replies by date