You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Tests fail erratically and inconsistently when run in parallel mode (various libraries), can be different fails at each run, and even worse with JIT enabled.
Look to be a PHP or test libraries bug due to the complexity of Condorcet.
To Reproduce composer require --dev brianium/paratest vendor/bin/paratest
(same with pest --parallel)
Expected behavior
No error, like without parallel.
The text was updated successfully, but these errors were encountered:
Is this related to this issue? After my commit to the 'Experimental/Schulze-STV' branch, some tests pass when run individually, but fail when running composer test.
No, this one is more about extraordinary and absurd (some of them not predictable between each runs) compilation errors. The first and iconic bug is that breaks class loader (with the correct use statement).
Parallel test and Jit compilation are experimental (tierce libraries and less know libraries, recent features...) in the PHP ecosystem. Condorcet work very well with non-parallel tests, and very well with (all ?) JIT compilation options. But not with parallel test (and worse if parallel + JIT).
This ticket is more about bugs in PHP and test libraries than Condorcet. (in the past, Condorcet was one of the first to find some news bugs with JIT compilation after public release of this recent PHP feature).
Describe the bug
Tests fail erratically and inconsistently when run in parallel mode (various libraries), can be different fails at each run, and even worse with JIT enabled.
Look to be a PHP or test libraries bug due to the complexity of Condorcet.
To Reproduce
composer require --dev brianium/paratest
vendor/bin/paratest
(same with
pest --parallel
)Expected behavior
No error, like without parallel.
The text was updated successfully, but these errors were encountered: