RFR: 7903754: jcstress: Implement fail-on-error run option [v7]
Jiří Vaněk
jvanek at openjdk.org
Mon Jun 23 08:21:56 UTC 2025
> 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
-------------
Changes: https://git.openjdk.org/jcstress/pull/157/files
Webrev: https://webrevs.openjdk.org/?repo=jcstress&pr=157&range=06
Stats: 250 lines in 6 files changed: 215 ins; 30 del; 5 mod
Patch: https://git.openjdk.org/jcstress/pull/157.diff
Fetch: git fetch https://git.openjdk.org/jcstress.git pull/157/head:pull/157
PR: https://git.openjdk.org/jcstress/pull/157
More information about the jcstress-dev
mailing list