jpzk / mockedstreams

Scala DSL for Unit-Testing Processing Topologies in Kafka Streams
Apache License 2.0
187 stars 24 forks source link

The locked state directory is not being cleaned up after a failed test #55

Open monksy opened 5 years ago

monksy commented 5 years ago

Because we aren't considering that the topology could fail, we're not cleaning up if there is a failure in running the topology.

Consider closing even if there was an exception to clean up the directory:

https://github.com/jpzk/mockedstreams/blob/929849f5b60af61660816e218b4ca2fdd8cb32c5/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala#L143

jpzk commented 5 years ago

Very good point, will add it to the next release!