alphagov / govuk-docker

GOV.UK development environment using Docker 🐳
MIT License
82 stars 22 forks source link

Increase shared memory for government-frontend #757

Closed unoduetre closed 5 months ago

unoduetre commented 5 months ago

What

Too little shared memory causes some tests that use Selenium to fail when running locally in the development environment. This change fixes that. For consistency, the amount chosen (512MB) is the same amount as used by other applications for similar purpose.

Why

The problem was noticed when working on https://trello.com/c/IKHEtABq/p This change also allows for correct calculation of test coverage.

sengi commented 5 months ago

Alternatively, you can solve this by disabling shm and as a bonus it'll use less ram and be more reliable. We do this in Smokey.