fix: Remove cleanup of docker directories (should be done after tests are completed, not after container has run).
@@ -62,11 +62,8 @@ public class DetectDockerTestRunner {
return null;
}
- public DockerAssertions run(DetectCommandBuilder commandBuilder) throws IOException {
+ public DockerAssertions run(DetectCommandBuilder commandBuilder) {
DockerDetectResult result = runContainer(commandBuilder);
-
- dockerTestDirectories.cleanup();
-
return new DockerAssertions(this.dockerTestDirectories, result);
}
