Skip to content

[9.x] Allow cleanup of databases when using parallel tests#41806

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
abenerd:feature/parallel-tests-cleanup-databases
Apr 4, 2022
Merged

[9.x] Allow cleanup of databases when using parallel tests#41806
taylorotwell merged 2 commits into
laravel:9.xfrom
abenerd:feature/parallel-tests-cleanup-databases

Conversation

@abenerd
Copy link
Copy Markdown
Contributor

@abenerd abenerd commented Apr 3, 2022

The number of created database can get very high when having several laravel projects that use parallel testing. This option allows laravel to clean up after itself when the process is finished dropping all created databases used for the tests.

@taylorotwell taylorotwell merged commit 2f44032 into laravel:9.x Apr 4, 2022
@nunomaduro
Copy link
Copy Markdown
Member

@abenerd Do you mind of now do the necessary changes to the Collision package?

https://github.com/nunomaduro/collision/blob/stable/src/Adapters/Laravel/Commands/TestCommand.php

@abenerd
Copy link
Copy Markdown
Contributor Author

abenerd commented Apr 4, 2022

Yeah, just created the PR @nunomaduro.

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.

3 participants