Integrated: 8332922: Test java/io/IO/IO.java fails when /usr/bin/expect not exist

SendaoYan syan at openjdk.org
Mon May 27 06:35:05 UTC 2024


On Sun, 26 May 2024 02:58:02 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
>   When there is no `/usr/bin/expect` in system, `throw new SkippedException` will not make the jvm exit in `@BeforeAll` junit stage, thus this will cause this testcase run failed. So I make change from `throw new SkippedException` to `Assumptions.abort` to avoid this issue.
>   Only change the testcase, no risk.
> 
> Thanks.

This pull request has now been integrated.

Changeset: 4e8deb39
Author:    SendaoYan <syan at openjdk.org>
Committer: Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4e8deb396e38c69de22b6348dca637d814d73aef
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8332922: Test java/io/IO/IO.java fails when /usr/bin/expect not exist

Reviewed-by: djelinski

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

PR: https://git.openjdk.org/jdk/pull/19403


More information about the core-libs-dev mailing list