You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (Jira)" <se...@james.apache.org> on 2019/12/03 13:37:00 UTC

[jira] [Created] (JAMES-2999) Reuse SpamAssassin container image between test runs

Matthieu Baechler created JAMES-2999:
----------------------------------------

             Summary: Reuse SpamAssassin container image between test runs
                 Key: JAMES-2999
                 URL: https://issues.apache.org/jira/browse/JAMES-2999
             Project: James Server
          Issue Type: Improvement
          Components: tests
            Reporter: Matthieu Baechler


I found that we built the spamassassin container image everytime we run a test using this container.
It's testcontainer default behavior when a container image is built programmatically. However, it not only deletes the image but any cached layer, preventing reuse and thus speed gains.
By the way, as images share the same layers, not deleting the images has almost no space usage.
We should disable deleteOnExit option.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org