RFR: 8255072: [TESTBUG] com/sun/jdi/EATests.java should not fail if expected VMOutOfMemoryException is not thrown
Richard Reingruber
rrich at openjdk.java.net
Thu Oct 22 08:00:13 UTC 2020
On Thu, 22 Oct 2020 05:06:43 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Earlier you said:
>
> > Note also that the OOME is successfully generated during object
> > reallocation a couple of times before (search "run args" in attachments
> > to the JBS issue).
>
> So I suppose in that case it's ok if this one test case allows for no OOME just as long as other test cases still require it.
With that I wanted to state that the probability to get the OOME is not too bad
for meaningful testing. It should be the same for the 3 test cases.
What about repeating a test case if the expected OOME is not raised and let it
fail after 10x retries?
-------------
PR: https://git.openjdk.java.net/jdk/pull/775
More information about the serviceability-dev
mailing list