[hornetq-commits] JBoss hornetq SVN: r11641 - branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/unit/core/persistence/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 2 13:18:31 EDT 2011


Author: clebert.suconic at 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();
 
    }
 



More information about the hornetq-commits mailing list