@Test
public void testNewPipeBlockingSemantics() throws IOException {

  Pipe pipe = Pipe.open();
  ByteBuffer buf = ByteBuffer.allocate(10);
  assertTrue(pipe.source().isBlocking());
  pipe.source().configureBlocking(false);
  assertTrue(!pipe.source().isBlocking());
  int rdSz = pipe.source().read(buf); // this operation blocks!
  assertTrue(rdSz <= 0);
}