@Test(timeout=20000)
public void testFence() throws BadFencingConfigurationException {

  Assume.assumeTrue(isConfigured());
  Configuration conf = new Configuration();
  conf.set(SshFenceByTcpPort.CONF_IDENTITIES_KEY, TEST_KEYFILE);
  SshFenceByTcpPort fence = new SshFenceByTcpPort();
  fence.setConf(conf);
  assertTrue(fence.tryFence(
      TEST_TARGET,
      null));
}