@Before
  public void setUp() throws InterruptedException {
    MockLogAppender.setupLogging();

    m_detector.setRetries(2);
    m_detector.setTimeout(500);
    m_detector.setAdminTag("to_detect");
  }
 @Test(timeout = 90000)
 public void testDetectorFail() throws UnknownHostException {
   m_detector.setAdminTag("extraneous_1");
   assertFalse(m_detector.isServiceDetected(InetAddressUtils.addr(TEST_IP_ADDRESS)));
 }
 @Test(timeout = 90000)
 public void testDetectorSuccessful() throws UnknownHostException {
   assertTrue(m_detector.isServiceDetected(InetAddressUtils.addr(TEST_IP_ADDRESS)));
 }