Author: borges
Date: 2011-10-05 12:42:56 -0400 (Wed, 05 Oct 2011)
New Revision: 11473
Modified:
trunk/tests/timing-tests/src/test/java/org/hornetq/tests/timing/core/journal/impl/NIOJournalImplTest.java
Log:
Do not use user's home folder as scratch area for unit-tests.
Modified:
trunk/tests/timing-tests/src/test/java/org/hornetq/tests/timing/core/journal/impl/NIOJournalImplTest.java
===================================================================
---
trunk/tests/timing-tests/src/test/java/org/hornetq/tests/timing/core/journal/impl/NIOJournalImplTest.java 2011-10-05
16:42:40 UTC (rev 11472)
+++
trunk/tests/timing-tests/src/test/java/org/hornetq/tests/timing/core/journal/impl/NIOJournalImplTest.java 2011-10-05
16:42:56 UTC (rev 11473)
@@ -20,9 +20,9 @@
import org.hornetq.core.logging.Logger;
/**
- *
+ *
* A RealJournalImplTest
- *
+ *
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
* @author <a href="mailto:clebert.suconic@jboss.com">Clebert
Suconic</a>
*
@@ -31,7 +31,7 @@
{
private static final Logger log = Logger.getLogger(NIOJournalImplTest.class);
- protected String journalDir = System.getProperty("user.home") +
"/journal-test";
+ protected String journalDir = System.getProperty("java.io.tmpdir",
"/tmp") + "/journal-test";
@Override
protected SequentialFileFactory getFileFactory() throws Exception
Show replies by date