mirror of https://github.com/apache/activemq.git
Default the directory setting on the LevelDB store to avoid test failure in AMQ2580Test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407589 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0729dd88d6
commit
aa2a6ddf31
|
@ -38,7 +38,8 @@ import org.apache.activemq.util._
|
|||
import org.apache.activemq.leveldb.util.{RetrySupport, FileSupport, Log}
|
||||
|
||||
object LevelDBStore extends Log {
|
||||
|
||||
val DEFAULT_DIRECTORY = new File("LevelDB");
|
||||
|
||||
val DONE = new CountDownFuture();
|
||||
DONE.countDown
|
||||
|
||||
|
@ -118,7 +119,7 @@ class LevelDBStore extends ServiceSupport with BrokerServiceAware with Persisten
|
|||
final val db = new DBManager(this)
|
||||
|
||||
@BeanProperty
|
||||
var directory: File = null
|
||||
var directory = DEFAULT_DIRECTORY
|
||||
@BeanProperty
|
||||
var logDirectory: File = null
|
||||
|
||||
|
|
Loading…
Reference in New Issue