raniejade/spek-idea-plugin

spek plugin hangs waiting for jvm to shut down threads

Closed this issue · 1 comments

Dynamodb embedded is a bit horrible (and hacky). The following delegate:
https://gist.github.com/andaag/ee02753549c910ba6ea5ad4b27262682
With this dependency:
testCompile 'com.amazonaws:DynamoDBLocal:1.11.86'

Works fine in gradle, but runs forever when running it through intellij with the spek plugin. (Tests green, but task has to be killed). The reason is that dynamodb embedded does not properly shut down all threads. Maybe the spek plugin can skip waiting for a graceful shutdown?

Created a new ticket under the main repo, see spekframework/spek#345.