@Test
  public void testRestriction() throws Exception {
    verifyRestriction(ConfVars.HIVE_TEST_MODE_PREFIX.varname, "foo");
    conf.verifyAndSet(ConfVars.HIVE_AM_SPLIT_GENERATION.varname, "false");
  }
Test that configs in restrict list can't be changed
@throws Exception
common/src/test/org/apache/hadoop/hive/conf/TestHiveConfRestrictList.java