I am testing an actor system and I would like to handle the reset of the journal between test run.
Asked
Active
Viewed 109 times
1 Answers
0
Do you really need to use the cassandra journal in your tests?
I would strongly suggest you use the in-memory
journal:
so in your test application.confgi
you specify
akka {
persistence {
journal {
plugin = "akka.persistence.journal.inmem"
}
}
}
and you get a fresh journal

Markus1189
- 2,829
- 1
- 23
- 32