@Test
  public void testCoprocessorConfigurationOnlineChange() {
    assertNull(rs1.getRegionServerCoprocessorHost().findCoprocessor(JMXListener.class.getName()));
    conf.set(CoprocessorHost.REGIONSERVER_COPROCESSOR_CONF_KEY, JMXListener.class.getName());
    rs1.getConfigurationManager().notifyAllObservers(conf);
    assertNotNull(
      rs1.getRegionServerCoprocessorHost().findCoprocessor(JMXListener.class.getName()));
  }
Test that the configurations in the CompactionConfiguration class change properly.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerOnlineConfigChange.java