fixed wrong path in embedded repository

This commit is contained in:
Jonas Boner 2009-07-29 17:01:13 +02:00
parent 6d6d815f56
commit 9bb152d3de
5 changed files with 4 additions and 4 deletions

View file

@ -59,8 +59,7 @@ class PersistentActor extends Actor {
object PersistenceManager {
@volatile var isRunning = false
def init = if (!isRunning) {
System.setProperty("storage-config", "config")
Kernel.boot
Kernel.startCassandra
isRunning = true
}
}
@ -135,4 +134,4 @@ class PersistentActorSpec extends TestCase {
} catch {case e: RuntimeException => {}}
assertEquals("init", (stateful !! GetRefState).get) // check that state is == init state
}
}
}