RFR: 7903754: jcstress: Implement fail-on-error run option [v7]

Jiří Vaněk jvanek at openjdk.org
Wed Jul 16 14:47:56 UTC 2025


On Mon, 23 Jun 2025 08:21:56 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

>> Initial PoC
>> 
>> It currently show how to set up argument, and how the framework will be terminated. Feedback welcomed.  Should be finished soon
>
> Jiří Vaněk has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
> 
>  - Removed counting of groups.
>    
>    It do not fill its purpose in real life
>  - Simplified to simpe -foe
>    
>    Both existing swithces with parameter changed to simngle -foe swithc,
>    whcih do not have any parameter, and if used , jcstress ends as soon as
>    possible after first error.
>    
>    Dropped the %% relative metric. Was good, but was never deployed afaik.
>    Simplifed test counting, now only tests are counted (no longer group)
>    Kept possibility to forbid exiting in the middle of group via property
>    
>    Kept posibility to set limit both  for absolute and relative treshold,
>    so user can still wait for more errors to appear before it is canceled.
>  - replaced incorrect System.out by output
>  - Experimental counting of softErrors through property
>  - Fix in logic
>  - Repalced list.size by counting collector
>  - Implemented main terminating logic
>  - Moved the dying message to correct place
>  - Refactored ConsoleReport and Failfast to share test counting logic
>  - typo
>  - ... and 1 more: https://git.openjdk.org/jcstress/compare/1d143cbd...389dd675

faith restored

-------------

PR Comment: https://git.openjdk.org/jcstress/pull/157#issuecomment-3078941349


More information about the jcstress-dev mailing list