# HG changeset patch # User bpb # Date 1549482859 28800 # Node ID 4fdc05fd69968b4ece2522f67fece420550f6b25 # Parent 95c486f5c444d7235ccd427836cedf4609177c28 rsocket-branch: test options that neither Socket nor ServerSocket support diff -r 95c486f5c444 -r 4fdc05fd6996 test/jdk/jdk/net/RdmaSockets/rsocket/SocketOption/UnsupportedOptionsTest.java --- a/test/jdk/jdk/net/RdmaSockets/rsocket/SocketOption/UnsupportedOptionsTest.java Wed Feb 06 09:20:58 2019 -0800 +++ b/test/jdk/jdk/net/RdmaSockets/rsocket/SocketOption/UnsupportedOptionsTest.java Wed Feb 06 11:54:19 2019 -0800 @@ -49,10 +49,12 @@ private static final List> socketOptions = new ArrayList<>(); static { + socketOptions.add(StandardSocketOptions.SO_KEEPALIVE); // Unsupported + socketOptions.add(StandardSocketOptions.SO_LINGER); // Unsupported socketOptions.add(StandardSocketOptions.SO_RCVBUF); socketOptions.add(StandardSocketOptions.SO_REUSEADDR); - socketOptions.add(StandardSocketOptions.SO_SNDBUF); - socketOptions.add(StandardSocketOptions.TCP_NODELAY); + socketOptions.add(StandardSocketOptions.SO_SNDBUF); // Socket only + socketOptions.add(StandardSocketOptions.TCP_NODELAY); // Socket only socketOptions.add(RdmaSocketOptions.RDMA_SQSIZE); socketOptions.add(RdmaSocketOptions.RDMA_RQSIZE); socketOptions.add(RdmaSocketOptions.RDMA_INLINE);