JCStress 0.7

Aleksey Shipilev shade at redhat.com
Wed Oct 14 10:21:56 UTC 2020


Hi,

JCStress 0.7 is released and available on Maven Central. This is useful for those who depend on
JCStress as the Maven dependency.

It comes with a bunch of externally-requested UX fixes:

  *) Fixes for noisy output for "[OK]" tests. Harness does not print successful tests by default. 
This helps when there are lots of tests in the suite (for example the one in jcstress bundle), which 
are expected to pass at all times.
   7902785: jcstress should not print OK tests by default

  *) Fixes for noisy output for progress line. It is updated on every iteration when interactive 
console attached, which flickers on some terminals, and bottlenecks on others. When non-interactive 
output is attached (e.g. redirection to file), it prints the line every 128-th iteration, which 
might be too infrequent for long-running tests. Instead, harness now prints progress line every N-th 
second: 1s for interactive console, 15s for non-interactive stream. The timing is overridable with 
"-Djcstress.console.printIntervalMs=..."
    7902787: jcstress should print progress line based on time

  *) When no tests are matched, jcstress should say so, not just "RUN COMPLETED":
    7902786: jcstress should fail when no tests are matched

Enjoy!

-- 
Thanks,
-Aleksey



More information about the jcstress-dev mailing list