distro-test-containers icon indicating copy to clipboard operation
distro-test-containers copied to clipboard

Why is Apache installed ?

Open jillro opened this issue 2 years ago • 1 comments

Is there any reason apache2 is installed on Ubuntu images ? It breaks any integration test which rely on port 80 being available.

jillro avatar Feb 17 '23 16:02 jillro

It used to be included (along with various other packages) to improve test performance, but that was before most modules (and tests) were split out into collections.

The distro containers are overdue for a review of installed packages. Until that happens, there are a few options:

  1. If possible, use a different port for tests to avoid the conflict.
  2. Stop the apache service at the start of the test. Consider restarting the service at the end of the test if it was stopped.

mattclay avatar Feb 17 '23 23:02 mattclay