Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
testQuickStartCommand failing on PHP5 because the commands under test are slow.
Proposed resolution
Let's have a look at the test output:
$ php core/scripts/drupal quick-start
Drupal is already installed. If you want to reinstall, remove sites/default/files and sites/default/settings.php.
Drupal development server started: <http://127.0.0.1:8888>
This server is not meant for production use.
One time login url: <http://127.0.0.1:8888/user/reset/1/1525511940/QdxTEwE8iXvj0TvzVm5GkYwWOUvSDA1QXEw_28clYzA/login>
Press Ctrl-C to quit.
As you see, we do start the development server first and then generate a one time login url, which happens afterwards. With this patch, we do have enough time between those steps.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Comments
Comment #2
alexpottComment #3
dawehnerI've updated the issue summary to explain what is going on.
I think this is a significant fix, even the most ideal fix would probably involved having another while loop, just like the match for the hostname itself.
Comment #4
alexpottCommitted 1eb7fc0 and pushed to 8.6.x. Thanks!
Comment #6
Wim Leers#2966607: Invalidating 'node_list' and other broad cache tags early in a transaction severely increases lock wait time and probability of deadlock is suddenly failing — could that be caused by this?