RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported
Jie Fu
jiefu at openjdk.java.net
Wed May 26 14:53:12 UTC 2021
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> java/net/SctpSanity.java fails on some of our test machines due to Protocol not supported.
> The reason is that the test fails to detect all the cases when a machine doesn't support SCTP.
>
> The fix just follows what are done in [1][2][3] to detect unsupported paltforms at the beginning.
>
> Thanks.
> Best regards,
> Jie
>
> [1] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpMultiChannel/Util.java#L59
> [2] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpServerChannel/Util.java#L59
> [3] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpChannel/Util.java#L59
> Do we know if the socket(IPPROTO_SCTP) or setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing?
> > > This is probably ok, but a little surprising. Can you say a more about the machine setup?
> >
> >
> > What do you mean by `setup`?
> > And how can I get these setups?
> > Thanks.
>
> Let me rephrase.
>
> You said: "The reason is that the test fails to detect all the cases when a machine doesn't support SCTP."
>
> My question is: Please explain the case (or set of cases) where your "machine doesn't support SCTP" ?
I'm not an expert in this area.
I don't know how to figure out why my machine don't support SCTP.
Any suggestions?
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4199
More information about the net-dev
mailing list