Fix ServerSocketChannelTest#setOption

For SO_RCVBUF, if the value is less than the allowed minimum, it sets
the value to the minimum, otherwise, keeps the value as is.

Bug: 28024647

(cherry-picked from commit 914e18679c117b646c267f5e1e50d8f5810df1b2)

Change-Id: I7cba2d99921b19d4d37e4588a4d5879ad3d856f3
diff --git a/luni/src/test/java/libcore/java/nio/channels/ServerSocketChannelTest.java b/luni/src/test/java/libcore/java/nio/channels/ServerSocketChannelTest.java
index 380b404..113779d 100644
--- a/luni/src/test/java/libcore/java/nio/channels/ServerSocketChannelTest.java
+++ b/luni/src/test/java/libcore/java/nio/channels/ServerSocketChannelTest.java
@@ -180,8 +180,8 @@
         // Assert that we can read back the option from the channel...
         assertEquals(false, (boolean)sc.getOption(StandardSocketOptions.SO_REUSEADDR));
 
-        sc.setOption(StandardSocketOptions.SO_RCVBUF, 1120);
-        assertEquals((Integer)1120, sc.getOption(StandardSocketOptions.SO_RCVBUF));
+        sc.setOption(StandardSocketOptions.SO_RCVBUF, 1100);
+        assertTrue(1100 <= sc.getOption(StandardSocketOptions.SO_RCVBUF));
 
         sc.close();
         try {