Integrated: 8359402: Test CloseDescriptors.java should throw SkippedException when there is no lsof/sctp
SendaoYan
syan at openjdk.org
Tue Jun 17 05:41:34 UTC 2025
On Fri, 13 Jun 2025 06:36:19 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> Test com/sun/nio/sctp/SctpChannel/CloseDescriptors.java should throw jtreg.SkippedException when there is no lsof command or there is no SCTP in test machine.
> Before this PR, this test report Execution successful when there is no SCTP.
>
>
> --------------------------------------------------
> TEST: com/sun/nio/sctp/SctpChannel/CloseDescriptors.java
> TEST RESULT: Passed. Execution successful
> --------------------------------------------------
>
>
> After this PR, it will report `jtreg.SkippedException` when there is no SCTP
>
>
> --------------------------------------------------
> TEST: com/sun/nio/sctp/SctpChannel/CloseDescriptors.java
> TEST RESULT: Passed. Skipped: jtreg.SkippedException: SCTP protocol is not supported
> --------------------------------------------------
>
>
> Change has been verified locally, test-fix only, no risk.
This pull request has now been integrated.
Changeset: a16d2355
Author: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a16d23557b101504ed2ff95cf1a3c5ba11afe33d
Stats: 9 lines in 1 file changed: 2 ins; 4 del; 3 mod
8359402: Test CloseDescriptors.java should throw SkippedException when there is no lsof/sctp
Reviewed-by: vyazici, jpai
-------------
PR: https://git.openjdk.org/jdk/pull/25790
More information about the net-dev
mailing list