Author: clebert.suconic(a)jboss.com
Date: 2010-08-17 01:56:48 -0400 (Tue, 17 Aug 2010)
New Revision: 9555
Modified:
trunk/src/main/org/hornetq/core/journal/impl/JournalImpl.java
Log:
Fixing a test exclusive method that was breaking a stress-test
Modified: trunk/src/main/org/hornetq/core/journal/impl/JournalImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/impl/JournalImpl.java 2010-08-17 03:10:18 UTC
(rev 9554)
+++ trunk/src/main/org/hornetq/core/journal/impl/JournalImpl.java 2010-08-17 05:56:48 UTC
(rev 9555)
@@ -2467,7 +2467,7 @@
{
// Send something to the closingExecutor, just to make sure we went
// until its end
- final CountDownLatch latch = new CountDownLatch(2);
+ final CountDownLatch latch = new CountDownLatch(1);
filesExecutor.execute(new Runnable()
{
@@ -2476,14 +2476,6 @@
latch.countDown();
}
});
-
- compactorExecutor.execute(new Runnable()
- {
- public void run()
- {
- latch.countDown();
- }
- });
latch.await();
}
Show replies by date