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?
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?