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:
Hiram R. Chirino 2012-11-09 18:47:38 +00:00
parent 0729dd88d6
commit aa2a6ddf31
1 changed files with 3 additions and 2 deletions

View File

@ -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