Package org.apache.accumulo.test.ShellServerIT

Examples of org.apache.accumulo.test.ShellServerIT.TestShell


  @Test(timeout = 30000)
  public void experimentalPropTest() throws Exception {
    // ensure experimental props do not show up in config output unless set

    TestShell ts = new TestShell(ROOT_PASSWORD, getCluster().getInstanceName(), getCluster().getZooKeepers(), getCluster().getConfig().getClientConfFile()
        .getAbsolutePath());

    assertTrue(Property.CRYPTO_BLOCK_STREAM_SIZE.isExperimental());
    assertTrue(Property.CRYPTO_CIPHER_ALGORITHM_NAME.isExperimental());

    String configOutput = ts.exec("config");

    assertTrue(configOutput.contains(Property.CRYPTO_BLOCK_STREAM_SIZE.getKey()));
    assertFalse(configOutput.contains(Property.CRYPTO_CIPHER_ALGORITHM_NAME.getKey()));
  }
View Full Code Here

TOP

Related Classes of org.apache.accumulo.test.ShellServerIT.TestShell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.