RFR: 8263729: [test] Extend time to wait before destroying child in ProcssBuilder Basic test
Thomas Stuefe
stuefe at openjdk.java.net
Wed Mar 17 19:37:47 UTC 2021
On Wed, 17 Mar 2021 19:30:54 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> The child does no (zero) writes to either stream. It is invoked only to sleep until it is destroyed.
>> The purpose of the test is to verify the exception that is thrown when the other end(child) of the pipe is closed (because the process has been forcibly terminated).
>
> Hmm, maybe the child can create a file to indicate that bootstrap has finished.
> The child does no (zero) writes to either stream. It is invoked only to sleep until it is destroyed.
> The purpose of the test is to verify the exception that is thrown when the other end(child) of the pipe is closed (because the process has been forcibly terminated).
I meant as a consequence of an error. E.g. a crash or a native OOM could cause the child to write an error report to stderr.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3049
More information about the core-libs-dev
mailing list