fixed wrong path in embedded repository
This commit is contained in:
parent
6d6d815f56
commit
9bb152d3de
5 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue