Skip to content

[6.x] don't use php.ini file for the backup test command#18754

Draft
i-just wants to merge 1 commit into6.xfrom
bugfix/database-backup-test-hanging
Draft

[6.x] don't use php.ini file for the backup test command#18754
i-just wants to merge 1 commit into6.xfrom
bugfix/database-backup-test-hanging

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Apr 24, 2026

Description

I’m using ddev locally. When I run the whole suite of tests via ddev exec --dir /var/www/html/vendor/craftcms/cms ./vendor/bin/pest, it’ll hang after completing the tests/Feature/Dashboard/Widgets/WidgetTest.php test.

The next test file in line is tests/Feature/Database/BackupsTest.php, and running ddev exec --dir /var/www/html/vendor/craftcms/cms ./vendor/bin/pest tests/Feature/Database/BackupsTest.php just hangs.

Long story short, the solution seems to be to add the -n param to the backup command, which will cause no php.ini file to be used in the command.

Is anyone else having this issue?
Does anyone have an opinion on whether the proposed change is safe in our case?

Related issues

n/a

@i-just i-just changed the title don't use php.ini file for the command don't use php.ini file for the test backup command Apr 24, 2026
@i-just i-just changed the title don't use php.ini file for the test backup command don't use php.ini file for the backup test command Apr 24, 2026
@i-just i-just changed the title don't use php.ini file for the backup test command [6.x] don't use php.ini file for the backup test command Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant