Class CleanUpIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.SharedMiniClusterBase
-
- org.apache.accumulo.test.functional.CleanUpIT
-
- All Implemented Interfaces:
ClusterUsers
public class CleanUpIT extends SharedMiniClusterBase
Ensures that all threads spawned for ZooKeeper and Thrift connectivity are reaped after calling CleanUp.shutdown(). Because this is destructive across the current context classloader, the normal teardown methods will fail (because they attempt to create a Connector). Until the ZooKeeperInstance and Connector are self-contained WRT resource management, we can't leverage the AccumuloClusterBase.
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.harness.SharedMiniClusterBase
TRUE
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
testName
-
-
Constructor Summary
Constructors Constructor Description CleanUpIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.void
run()
static void
setup()
static void
teardown()
-
Methods inherited from class org.apache.accumulo.harness.SharedMiniClusterBase
getAdminUser, getCluster, getConnector, getKdc, getMiniClusterDir, getPrincipal, getRootPassword, getToken, getUser, startMiniCluster, startMiniClusterWithConfig, stopMiniCluster
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
defaultTimeoutSeconds
protected int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
-