Class SessionBlockVerifyIT
- java.lang.Object
-
- org.apache.accumulo.harness.WithTestNames
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.AccumuloClusterHarness
-
- org.apache.accumulo.test.functional.ScanSessionTimeOutIT
-
- org.apache.accumulo.test.functional.SessionBlockVerifyIT
-
- All Implemented Interfaces:
ClusterUsers
,MiniClusterConfigurationCallback
public class SessionBlockVerifyIT extends ScanSessionTimeOutIT
Verify that we have resolved blocking issue by ensuring that we have not lost scan sessions which we know to currently be running
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
AccumuloClusterHarness.ClusterType
-
Nested classes/interfaces inherited from interface org.apache.accumulo.harness.MiniClusterConfigurationCallback
MiniClusterConfigurationCallback.NoCallback
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
cluster, clusterConf, krb, type
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
MINI_CLUSTER_ONLY, random, STANDALONE_CAPABLE_CLUSTER, SUNNY_DAY, ZOOKEEPER_TESTING_SERVER
-
Fields inherited from interface org.apache.accumulo.harness.MiniClusterConfigurationCallback
NO_CALLBACK
-
-
Constructor Summary
Constructors Constructor Description SessionBlockVerifyIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRunTest(AccumuloClusterHarness.ClusterType type)
A test may not be capable of running against a given AccumuloCluster.void
configureMiniCluster(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
protected Duration
defaultTimeout()
Time to wait per-method before declaring a timeout, in seconds.protected String
getMaxIdleTimeString()
Returns the max idle time as a string.void
run()
-
Methods inherited from class org.apache.accumulo.test.functional.ScanSessionTimeOutIT
reduceSessionIdle, resetSessionIdle, verify
-
Methods inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
cleanupTables, cleanupUsers, getAdminPrincipal, getAdminToken, getAdminUser, getClientInfo, getClientProps, getCluster, getClusterConfiguration, getClusterControl, getClusterType, getFileSystem, getKdc, getServerContext, getUser, saslEnabled, setupCluster, setUpHarness, teardownCluster, tearDownHarness
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getOnlyElement, getOnlyElement, getSslDir, getUniqueNames, initJar
-
Methods inherited from class org.apache.accumulo.harness.WithTestNames
setTestName, testName
-
-
-
-
Method Detail
-
defaultTimeout
protected Duration defaultTimeout()
Description copied from class:AccumuloITBase
Time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeout
in classScanSessionTimeOutIT
-
canRunTest
public boolean canRunTest(AccumuloClusterHarness.ClusterType type)
Description copied from class:AccumuloClusterHarness
A test may not be capable of running against a given AccumuloCluster. Implementations can override this method to advertise that they cannot (or perhaps do not) want to run the test.- Overrides:
canRunTest
in classAccumuloClusterHarness
-
configureMiniCluster
public void configureMiniCluster(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
- Specified by:
configureMiniCluster
in interfaceMiniClusterConfigurationCallback
- Overrides:
configureMiniCluster
in classScanSessionTimeOutIT
-
getMaxIdleTimeString
protected String getMaxIdleTimeString()
Description copied from class:ScanSessionTimeOutIT
Returns the max idle time as a string.- Overrides:
getMaxIdleTimeString
in classScanSessionTimeOutIT
- Returns:
- new max idle time
-
run
@Test public void run() throws Exception
- Overrides:
run
in classScanSessionTimeOutIT
- Throws:
Exception
-
-