@Test(expected = IllegalArgumentException.class)
  public void testLockForConfigChangeInvalid() throws IOException{
    LlapRegistryService client = null;

    try {
      client = new LlapRegistryService(false);
      client.init(conf);
      client.start();

      client.lockForConfigChange(20000, 10000);
    } finally {
      if (client != null) {
        client.close();
      }
    }
  }
Llap Registry service related tests. Currently only for configuration change.
llap-server/src/test/org/apache/hadoop/hive/llap/registry/impl/TestLlapRegistryService.java