@Test(timeout=180000)
public void testInvalidOperations() throws IOException {

  try {
    DomainSocket.connect(
      new File(sockDir.getDir(), "test_sock_invalid_operation").
        getAbsolutePath());
  } catch (IOException e) {
    GenericTestUtils.assertExceptionContains("connect(2) error: ", e);
  }
}