- Issue created by @mstrelan
- π¬π§United Kingdom catch
Per π [random test failure] PathAliasTest::testPathCache Active let's try to move the wait terminate stuff into a test module that is then enabled only by the tests that need it.
- π¦πΊAustralia mstrelan
Better yet, let's use a container param instead of using state or keyvalue.
If we wanted to take this further we could introduce a new function like
::setContainerParameter
that adds a service to the yaml instead. Then we wouldn't need the parameter at all and could just add the service when it's needed. That would tidy upFunctionalTestSetupTrait::prepareSettings
a bit too.I wasn't sure if rebuilding the container would make the tests slower, but the tests I ran were almost identical compared to HEAD. Performance tests seem to pass too, and I think enabling a module with its own service provider would require the container to be rebuilt anyway.
Updated the IS to match the current solution, this is ready for review.
- First commit to issue fork.
- π¦πΊAustralia acbramley
Rebased locally as there was a conflict in WaitTerminateTestTrait
This is a huge improvement, great job @mstrelan
Automatically closed - issue fixed for 2 weeks with no activity.