node3 = new SgsTestNode(serverNode, null, null);
// We expect to see one notification for a started node
AtomicLong count = listener.notificationMap.get(
NodesMXBean.NODE_STARTED_NOTIFICATION);
assertNotNull(count);
assertEquals(1, count.longValue());
// and no notifications for failed nodes
assertNull(listener.notificationMap.get(
NodesMXBean.NODE_FAILED_NOTIFICATION));
} finally {