The test suite takes up large amounts of disk space (over 2.7GB) during build. This causes overhead for copying and bogs down test runs and CI. Find ways to mitigate this.
First approach is to use Maven refs instead of fixed JARs in the build process:
This saves a bit of space but copied images are still taking upwards of 55MB each, and there are very many copies; consider this example from testsuite/integration/iiop/target:
Within a typical copy (after the above patch), about half of the data is in bin and half is in standalone. In bin, the dominating files are:
- 2.2M wildfly-elytron-tool.jar
- 7.2M client/jboss-cli-client.jar
- 17M client/jboss-client.jar
In standalone, the dominator is:
- 25M data/activemq (mostly journal files but also the bindings file)
Together these four areas cover 51.4MB of the 55MB in each IIOP server copy.
In other areas, big users include standalone_xml_history, which can be as large as 67MB. Disabling the across the board could help.
We're also making over 50 copies of the docs directory at 2.3M per instance.