assertFalse((pair.namenode1 == null && pair.offerService1.shouldRun()));
}
@Test
public void testDatanodeRestartService2() throws Exception {
ServicePair pair = getPair();
TestRestartServiceHandler handler = new TestRestartServiceHandler();
handler.enableOne = false;
InjectionHandler.set(handler);
restartService2();
while (!injectionDone) {