0

I am testing an actor system and I would like to handle the reset of the journal between test run.

gsteiner
  • 776
  • 5
  • 20
SaKou
  • 259
  • 1
  • 13

1 Answers1

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