summaryrefslogtreecommitdiff
path: root/crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala')
-rw-r--r--crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala b/crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala
index 3c47edf..6794908 100644
--- a/crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala
+++ b/crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala
@@ -31,14 +31,11 @@ class DockerExecutorSpec
val exec = new DockerExecutor
override def beforeAll: Unit = {
- sys.addShutdownHook {
- println("------------------- fooooo")
- exec.clean()
- }
DockerUtil.ensureImage(exec.dockerClient)
}
override def afterAll: Unit = {
+ exec.clean() // in case something goes wrong
system.terminate()
}