diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-04-09 18:16:20 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2017-04-09 18:16:20 -0700 |
commit | 30c3990d25293c01a380fc8715679e7f618a4cae (patch) | |
tree | 5ff399510001123382a9cb8770b72abc527bfaa6 /crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala | |
parent | 2e67fc2ca823e8dc3616ce4a7305175bef58ff9b (diff) | |
download | crashbox-ci-30c3990d25293c01a380fc8715679e7f618a4cae.tar.gz crashbox-ci-30c3990d25293c01a380fc8715679e7f618a4cae.tar.bz2 crashbox-ci-30c3990d25293c01a380fc8715679e7f618a4cae.zip |
Add test for builders
Diffstat (limited to 'crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala')
-rw-r--r-- | crashboxd/src/test/scala/io/crashbox/ci/DockerExecutorSpec.scala | 5 |
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() } |