-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: tests with --parallel
flag fails starting from PEST 2.29.1
#1053
Comments
I have the same problem. |
@Rydgel Did you try to downgrade PEST to |
@eleftrik I did downgrade and it fixed my issue 👍 |
@Rydgel I'm glad it worked. I would like to understand why this error is happening, but I'm missing some debugging skills related to PHPUnit / PEST. |
It seems related to PHPUnit update |
This has happened to me as well but only with xdebug enabled, no failures happen when removing the Edit: the exit code I am getting is |
Currently, I'm using Pest |
Thanks for your feedback, @eleftrik ! Make sure to upgrade your PestPHP to the latest version to fix this issue. |
@eleftrik it was fixed by sebastianbergmann/phpunit#5662 |
Thanks! |
What Happened
I have a Laravel
10.39.0
application with ~1000 tests.Until PEST
2.29.0
, everything runs smoothly: tests are always passing.Starting from PEST 2.29.1 (even with 2.30.0 version), I got a strange behavior:
--parallel
flag--parallel
flag and I got this error:(no other details are provided)
If I mark every test inside SomeTest.php file with
->todo();
, such an error still occurs.If I delete SomeTest.php, such an error still occurs, on the next test file inside SomeFolder.
For the moment, I've fixed version
2.29.0
in my composer.json to bypass the error.Please let me know if I can provide you with other details.
Thank you
How to Reproduce
XDEBUG_MODE=off ./vendor/bin/pest --parallel --bail --colors=always
to run the whole suiteSample Repository
No response
Pest Version
2.29.1
PHP Version
8.2.14
Operation System
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: