Closed (duplicate)
Project:
Drupal core
Version:
11.x-dev
Component:
system.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
24 May 2018 at 21:04 UTC
Updated:
16 Nov 2023 at 15:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedvaplas created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedEdit:
Check only one
InstallUninstallTest:Comment #3
Anonymous (not verified) commentedEdit:
Check
InstallUninstallTestwhen run all tests:Comment #4
MixologicI see you have found the dragon in the testing cave. This test is a monster.
Comment #5
Anonymous (not verified) commentedYep, top-5 dragons in #3 by seconds:
However in #2 InstallUninstallTest is only 827 seconds. So the additional 372 seconds when running all the tests.
The #2659940-141: Extension System, Part III: ThemeExtensionList and ThemeEngineExtensionList slows down the running all tests even more. For example, InstallUninstallTest will be near 1942 seconds! But in #2 it is only 835 seconds (almost like HEAD).
Difference between #138 and #141 is:
But it leads to a colossal subsidence of some tests when full tests run (not only for InstallUninstallTest, it is just good example).
Perhaps this is due to APCu fragmentation, or opcache, or opcode, or some other leak of some clever term :)
Comment #8
Anonymous (not verified) commentedEdit:
Check
InstallUninstallTestwhen run all tests:Comment #9
Anonymous (not verified) commentedEdit:
Check
InstallUninstallTestwhen run all tests:Comment #10
Anonymous (not verified) commentedEdit:
Typo in patch name. Not ttl 10, but ttl 30 here.
Check
InstallUninstallTestwhen run all tests:Comment #11
Anonymous (not verified) commentedEdit:
Check
InstallUninstallTestwhen run all tests:Comment #12
Anonymous (not verified) commentedEdit:
Check
InstallUninstallTestwhen run all tests:📌 TTL 1 eliminates the difference in execution time between the HEAD and #2659940-141: Extension System, Part III: ThemeExtensionList and ThemeEngineExtensionList when all tests run. Woot!
Comment #13
Anonymous (not verified) commentedComment #24
catchRediscovered this issue via #3386091: [PP-1] Reduce test pipeline times to around 18 minutes and always report back unit tests. InstallUninstallTest singlehandedly adds about 20% to test times (once a full test run on gitlab takes 17 minutes, InstallUninstallTest is responsible for 1 or 2 of that because it's just so slow that it's still running when everything else has finished). I think it's time to drop it. We've got a lot more test coverage than when it's added, and the config API means modules do a lot less API calls on install, they can ship config for a lot of things that used to require PHP.
Comment #25
longwaveInstallUninstallTest was removed in #3386458: Add GenericModuleTestBase and use it to test general module things